X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=blobdiff_plain;f=src%2Finclude%2Fmodules.h;h=dbb17f3de6597fe988c8ea4de3d160db5cc5d53d;hp=074cc4443b2f174a882ad8ead93ac1b95844f106;hb=e2eaf9194b16fdd15ebf274aafd05edc9fefb4bb;hpb=e4bd07a28ea12db9a4633df981ace7bafd3a5445 diff --git a/src/include/modules.h b/src/include/modules.h index 074cc44..dbb17f3 100644 --- a/src/include/modules.h +++ b/src/include/modules.h @@ -13,6 +13,10 @@ RCSIDH(modules_h, "$Id$") #include +#ifdef __cplusplus +extern "C" { +#endif + typedef int (*packetmethod)(void *instance, REQUEST *request); enum { @@ -87,5 +91,8 @@ int indexed_modcall(int comp, int idx, REQUEST *request); int virtual_servers_load(CONF_SECTION *config); void virtual_servers_free(time_t when); +#ifdef __cplusplus +} +#endif #endif /* RADIUS_MODULES_H */