From: scottmk Date: Thu, 8 Jan 2009 21:58:13 +0000 (+0000) Subject: Prepare for #inclusion in C++ X-Git-Tag: osrf_rel_2_0_1~437 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a98fd940f59d6f9dd1e41235432bc2e2e5033334;p=OpenSRF.git Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1607 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/router/osrf_router.h b/src/router/osrf_router.h index 8d5e21d..fc417c8 100644 --- a/src/router/osrf_router.h +++ b/src/router/osrf_router.h @@ -16,7 +16,9 @@ #include "opensrf/osrf_message.h" - +#ifdef __cplusplus +extern "C" { +#endif /* a router maintains a list of server classes */ struct _osrfRouterStruct { @@ -79,5 +81,9 @@ void osrfRouterFree( osrfRouter* router ); */ //int osrfRouterHandleRequestMessage( osrfRouter* router, transport_message* msg ); +#ifdef __cplusplus +} +#endif + #endif