NAME
set_read_callback - set 'buffer available' callback

SYNTAX
#include "backend.h"

void set_write_callback(int fd,file_callback cb,void *data);

DESCRIPTION
This function sets what function should be called when there is time to write more data to 'fd'. The 'file_callback' should be a function like this:

void file_callback(int fd, void *data);

The arguments are the same as sent to set_write_callback(). To disable the write callback, call set_write_callback again with cb and data equal to zero.

KEYWORDS
low_level

SEE ALSO
set_read_callback and set_nonblocking