X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=lib%2Frsp_list.h;h=4f4d1f9b07bbdeb4f14583a2de8004bf4e2aec15;hb=937144b230752ac640e611cabb57387f613997bc;hp=80c0128d8e99fb547cfe179cbc97c28e8572fc88;hpb=83e82dba47aced4a93f9e431b4d8bca94c2f8517;p=libradsec.git diff --git a/lib/rsp_list.h b/lib/rsp_list.h index 80c0128..4f4d1f9 100644 --- a/lib/rsp_list.h +++ b/lib/rsp_list.h @@ -1,10 +1,5 @@ -/* - * Copyright (C) 2006-2009 Stig Venaas - * - * 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 @@ -12,6 +7,10 @@ #include #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: */