/* * Copyright © 2005 Atheme Development Group * Rights to this code are as documented in doc/pod/license.pod. * * Datastream query stuff. * * $Id: datastream.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ */ #ifndef __CLARODATASTREAM #define __CLARODATASTREAM E void sendq_add (connection_t *cptr, char *buf, int len); E void sendq_add_eof (connection_t *cptr); E void sendq_flush (connection_t *cptr); E bool sendq_nonempty (connection_t *cptr); E int recvq_length (connection_t *cptr); E void recvq_put (connection_t *cptr); E int recvq_get (connection_t *cptr, char *buf, int len); E int recvq_getline (connection_t *cptr, char *buf, int len); E void sendqrecvq_free (connection_t *cptr); #endif