Subscriber callback; called upon receipt of a notification.
typedef void (*subscriber_notify_cb_t) (void *arg, char *event, char *data, int datalen);
arg |
Context pointer passed to subscribe (notify_arg). |
event |
The event reference (URI). The notification event reference matches the subscription, but may contain additional information called event attributes, such as a uid. |
data |
The body of the notification. A MIME object. |
datalen |
Length of the data. |
Zero if successful, non-zero otherwise.