summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-11-11 14:57:05 +0100
committerLinus Nordberg <linus@nordu.net>2010-11-11 14:57:05 +0100
commit61010c7b868bb7ceef4a04af23e2b139163dd431 (patch)
tree425592a98e6c5380f298a0692ff534cbc8117b07 /lib/include/radsec/radsec.h
parent8f48dfbad11382b92fc9abaa6fa41756ec087194 (diff)
Add extern "C" guards to all header files.
Diffstat (limited to 'lib/include/radsec/radsec.h')
-rw-r--r--lib/include/radsec/radsec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index d80c296..c54180b 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -33,6 +33,10 @@ enum rs_conn_type {
typedef unsigned int rs_conn_type_t;
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
/* Data types. */
struct rs_context; /* radsec-impl.h */
struct rs_connection; /* radsec-impl.h */
@@ -146,6 +150,10 @@ void rs_err_free(struct rs_error *err);
char *rs_err_msg(struct rs_error *err, int dofree_flag);
int rs_err_code(struct rs_error *err, int dofree_flag);
+#if defined (__cplusplus)
+}
+#endif
+
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */