#include #include #include static FILE * f = NULL; void prof_init (const char * const version, const char * const status) { fprintf (stderr, "called %s with args=<%s, %s>\n", __func__, version, status); } void prof_on_start (void) { fprintf (stderr, "called %s with no args\n", __func__); } void prof_on_connect (void) { fprintf (stderr, "called %s with no args\n", __func__); } void prof_on_message_received (const char * const jid, const char * const message) { fprintf (stderr, "called %s with args=<%s, %s>\n", __func__, jid, message); }