Hello. What you need ? A Modules written in C to perform a Push [Publish pattern ] notification ..I have some experience in Modules writing in SIPS Server. Explains what's your need so we can plan it ..
We can structured our modules like this:
struct module_exports exports= {
/* module name */
"push_notification",
/* class of this module */
MOD_TYPE_DEFAULT,
MODULE_VERSION,
/* dlopen flags */
DEFAULT_DLFLAGS,
/* OpenSIPS module dependencies */
NULL,
/* exported functions */
cmds,
/* exported async functions */
acmds,
/* exported parameters */
params,
/* exported statistics */
NULL,
/* exported MI functions */
NULL,
/* exported pseudo-variables */
NULL,
/* extra processes */
NULL,
/* module initialization function */
mod_init,
/* response handling function */
NULL,
/* destroy function */
NULL,
/* per-child init function */
NULL
};