Declares an RENL, which enables the end2end_ack invocation. After this call returns, the end2end_ack argument is invoked when an acknowledgment notification matching the specified publisher and subscriber is received.
void renl_create_publisher (publisher_t *publisher, const char *renl_id, const char *subscriber, publisher_cb_t cbdone, void *cbarg);
publisher |
The active publisher. |
renl_id |
The unique RENL identifier. This allows two peers to be able to set up multiple RENLs between them. |
subscriber |
The authenticated identity of the peer. |
cbdone |
The callback invoked when the RENL is established. |
cbarg |
The first argument of cbdone, when invoked. |
Nothing.