From: scottmk Date: Thu, 8 Jan 2009 15:28:32 +0000 (+0000) Subject: Add compilation guard; prepare for #inclusion in C++ X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ba76a30c355789374c2fbb3dbd41fb010d81b46c;p=opensrf%2Fbjwebb.git Add compilation guard; prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1582 9efc2488-bf62-4759-914b-345cdb29e865 --- 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