ZOO-Project
Functions
service_callback.h File Reference
#include <service.h>

Go to the source code of this file.

Functions

bool invokeBasicCallback (maps *, int)
 Invoke the callback in case there is a [subscriber] section containing one or more url parameter. More...
 
void cleanupCallbackThreads ()
 Wait for the threads to end then, clean used memory. More...
 

Function Documentation

void cleanupCallbackThreads ( )

Wait for the threads to end then, clean used memory.

bool invokeBasicCallback ( maps conf,
int  state 
)

Invoke the callback in case there is a [subscriber] section containing one or more url parameter.

Parameters
confthe maps containing the main configuration file definitions
statethe service state SERVICE_SUCCEEDED / STARTED / FAILED
Returns
bool true in case of success, false in other cases