From ba76a30c355789374c2fbb3dbd41fb010d81b46c Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 15:28:32 +0000 Subject: [PATCH] Add compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1582 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/osrf_transgroup.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/opensrf/osrf_transgroup.h b/include/opensrf/osrf_transgroup.h index 9788d93..6144d3a 100644 --- a/include/opensrf/osrf_transgroup.h +++ b/include/opensrf/osrf_transgroup.h @@ -1,3 +1,6 @@ +#ifndef OSRF_TRANSGROUP_H +#define OSRF_TRANSGROUP_H + #include #include #include @@ -6,6 +9,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /** Maintains a set of transport clients */ @@ -119,4 +126,9 @@ void osrfTransportGroupSetInactive( osrfTransportGroup* grp, char* domain ); */ osrfTransportGroupNode* __osrfTransportGroupFindNode( osrfTransportGroup* grp, char* domain ); +#ifdef __cplusplus +} +#endif + +#endif -- 2.43.2