include/notifychange.h File Reference

#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 Documentation

#define _NOTIFYCHANGE_H   1


Function Documentation

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.

Parameters:
[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
Returns:
0 if succeed or -1 if fail and errno is set appropriately.
Errors:
EBUSY if the underlying system cannot accept this request.
EINVAL if invalid parameters are passed

Callback Descriptions

notify_handler

Parameters:
[in] event Type is NOTIFYWRITE in EventsEnum.
[in] cbargs return resource in notifywrite().
[in] context return context in notifywrite().
Returns:
None.


Generated on Fri May 2 15:41:50 2008 for Arch Rock IP/6LoWPAN Evaluation Software Distribution by  doxygen 1.5.5