Sends a notification.
void upub_publish (upub_t *upub,
const char *event_ref,
void *payload,
unsigned int payload_len,
void (*delete_payload) (void *));
|
upub |
Publisher. |
|
event_ref |
Event reference. This is a URI identifying the resource that is modifed. |
|
payload |
Notification payload. |
|
payload_len |
Length in bytes of the payload. |
|
delete_payload |
Callback to free the payload when it is no longer needed. |
Nothing.