28 static int init_callback = 0;
29 static int load_callback = 0;
31 static class testCallback :
public service::callback
34 testCallback() : service::callback(1)
35 {
if(++init_callback == 2) active_flag =
true;};
36 void reload(service *cfg)
42 service *cfg =
new service(
"test");
45 assert(init_callback == 2);
48 assert(load_callback == 2);
#define SIPWITCH_NAMESPACE
Top level include directory for GNU Telephony SIP Witch Server.