Update README and HACKING.
[libradsec.git] / lib / rsp_hash.h
index 48f54a3..90ba64b 100644 (file)
@@ -1,15 +1,14 @@
-/*
- * Copyright (C) 2008 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) 2008, UNINETT AS */
+/* See LICENSE for licensing information. */
 
 #ifndef SYS_SOLARIS9
 #include <stdint.h>
 #endif
 
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
 struct hash {
     struct list *hashlist;
     pthread_mutex_t mutex;
@@ -43,6 +42,10 @@ struct hash_entry *hash_first(struct hash *hash);
 /* returns the next entry after the argument */
 struct hash_entry *hash_next(struct hash_entry *entry);
 
+#if defined (__cplusplus)
+}
+#endif
+
 /* Local Variables: */
 /* c-file-style: "stroustrup" */
 /* End: */