From a98fd940f59d6f9dd1e41235432bc2e2e5033334 Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 21:58:13 +0000 Subject: [PATCH] Prepare for #inclusion in C++ git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1607 9efc2488-bf62-4759-914b-345cdb29e865 --- src/router/osrf_router.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.43.2