Prepare for #inclusion in C++
authorscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:37:32 +0000 (22:37 +0000)
committerscottmk <scottmk@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 8 Jan 2009 22:37:32 +0000 (22:37 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1612 9efc2488-bf62-4759-914b-345cdb29e865

include/opensrf/transport_client.h

index 924605f..2bd7605 100644 (file)
@@ -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 @@ int client_connected( const transport_client* client );
 // ---------------------------------------------------------------------------
 transport_message* client_recv( transport_client* client, int timeout );
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif