#include <event.h>
Defines | |
#define | _NOTIFYCHANGE_H 1 |
Functions | |
int16_t | notifywrite (int16_t resid, void(*notify_handler)(event_t event, void *cbargs, void *context), void *resource, void *context) |
#define _NOTIFYCHANGE_H 1 |
int16_t notifywrite | ( | int16_t | resid, | |
void(*)(event_t event, void *cbargs, void *context) | notify_handler, | |||
void * | resource, | |||
void * | context | |||
) |
Callback when the underlying socket specified by the socket identifier has more buffer again and is ready to accept data for transmission.
[in] | resid | a valid socket id. |
[in] | notify_handler | the continuation callback handler that will be fired when the underlying socket can accept more data. If NULL is passed here, the call will fail. |
[in] | resource | no requirement here. |
[in] | context | user context |
[in] | event | Type is NOTIFYWRITE in EventsEnum. |
[in] | cbargs | return resource in notifywrite(). |
[in] | context | return context in notifywrite(). |