Rename COPYING -> LICENSE.
[libradsec.git] / lib / rsp_list.h
index 80c0128..4f4d1f9 100644 (file)
@@ -1,10 +1,5 @@
-/*
- * Copyright (C) 2006-2009 Stig Venaas <venaas@uninett.no>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- */
+/* Copyright (c) 2007-2009, UNINETT AS */
+/* See LICENSE for licensing information. */
 
 #ifdef SYS_SOLARIS9
 #include <sys/inttypes.h>
@@ -12,6 +7,10 @@
 #include <stdint.h>
 #endif
 
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
 struct list_node {
     struct list_node *next;
     void *data;
@@ -46,6 +45,10 @@ struct list_node *list_next(struct list_node *node);
 /* returns number of nodes */
 uint32_t list_count(struct list *list);
 
+#if defined (__cplusplus)
+}
+#endif
+
 /* Local Variables: */
 /* c-file-style: "stroustrup" */
 /* End: */