X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=blobdiff_plain;f=src%2Finclude%2Fmodcall.h;h=9a95565d538c4bc3025d13894efef3104fae0a43;hp=89ec4dc5dd1472176a2c8debef3b8a4c00be3805;hb=e2eaf9194b16fdd15ebf274aafd05edc9fefb4bb;hpb=e4bd07a28ea12db9a4633df981ace7bafd3a5445 diff --git a/src/include/modcall.h b/src/include/modcall.h index 89ec4dc..9a95565 100644 --- a/src/include/modcall.h +++ b/src/include/modcall.h @@ -1,3 +1,6 @@ +#ifndef FR_MODCALL_H +#define FR_MODCALL_H + /* modcall.h: the outside interface to the module-calling tree. Includes * functions to build the tree from the config file, and to call it by * feeding it REQUESTs. @@ -6,6 +9,10 @@ #include /* Need CONF_* definitions */ +#ifdef __cplusplus +extern "C" { +#endif + /* * For each authorize/authtype/etc, we have an ordered * tree of instances to call. This data structure keeps track @@ -32,3 +39,9 @@ void add_to_modcallable(modcallable **parent, modcallable *this, /* Free a tree returned by compile_modgroup or compile_modsingle */ void modcallable_free(modcallable **pc); + +#ifdef __cplusplus +} +#endif + +#endif