Searched refs:write_cb (Results 1 - 2 of 2) sorted by relevance

/system/bt/osi/include/
H A Dsocket.h93 // will be called. When the socket becomes writeable, |write_cb| will be called. The
95 // |socket| nor |reactor| may be NULL. |read_cb|, |write_cb|, and |context| may be NULL.
96 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket_cb write_cb);
/system/bt/osi/src/
H A Dsocket.c196 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket_cb write_cb) { argument
203 socket->write_ready = write_cb;
207 void (*write_fn)(void *) = (write_cb != NULL) ? internal_write_ready : NULL;

Completed in 41 milliseconds