int yaz_spipe_get_read_fd(yaz_spipe_t p)
returns reading socket
yaz_spipe_t yaz_spipe_create(int port_to_use, WRBUF *err_msg)
create socket pipe
void yaz_spipe_destroy(yaz_spipe_t p)
destroys socket pipe
int yaz_spipe_get_write_fd(yaz_spipe_t p)
returns writing socket
struct yaz_spipe * yaz_spipe_t
YAZ socket pipe opaque pointer.
Header for WRBUF (growing buffer)
Header with fundamental macros.