[Opensrf-commits] r1612 - trunk/include/opensrf
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 8 17:37:37 EST 2009
Author: scottmk
Date: 2009-01-08 17:37:32 -0500 (Thu, 08 Jan 2009)
New Revision: 1612
Modified:
trunk/include/opensrf/transport_client.h
Log:
Prepare for #inclusion in C++
Modified: trunk/include/opensrf/transport_client.h
===================================================================
--- trunk/include/opensrf/transport_client.h 2009-01-08 22:27:18 UTC (rev 1611)
+++ trunk/include/opensrf/transport_client.h 2009-01-08 22:37:32 UTC (rev 1612)
@@ -6,6 +6,10 @@
#include <opensrf/utils.h>
#include <opensrf/log.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct message_list_struct;
// ---------------------------------------------------------------------------
@@ -65,5 +69,8 @@
// ---------------------------------------------------------------------------
transport_message* client_recv( transport_client* client, int timeout );
+#ifdef __cplusplus
+}
+#endif
#endif
More information about the opensrf-commits
mailing list