ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/ermyth/include/datastream.h
Revision: 1.2
Committed: Sat Jul 21 01:29:07 2007 UTC (19 years, 2 months ago) by pippijn
Content type: text/plain
Branch: MAIN
Changes since 1.1: +2 -2 lines
Log Message:
- moved to new documentation system
- fixed small build error

File Contents

# User Rev Content
1 pippijn 1.1 /*
2     * Copyright © 2005 Atheme Development Group
3 pippijn 1.2 * Rights to this code are as documented in doc/pod/license.pod.
4 pippijn 1.1 *
5     * Datastream query stuff.
6     *
7 pippijn 1.2 * $Id: datastream.h,v 1.1 2007-07-19 08:24:50 pippijn Exp $
8 pippijn 1.1 */
9     #ifndef __CLARODATASTREAM
10     #define __CLARODATASTREAM
11    
12     E void sendq_add (connection_t *cptr, char *buf, int len);
13     E void sendq_add_eof (connection_t *cptr);
14     E void sendq_flush (connection_t *cptr);
15     E bool sendq_nonempty (connection_t *cptr);
16    
17     E int recvq_length (connection_t *cptr);
18     E void recvq_put (connection_t *cptr);
19     E int recvq_get (connection_t *cptr, char *buf, int len);
20     E int recvq_getline (connection_t *cptr, char *buf, int len);
21    
22     E void sendqrecvq_free (connection_t *cptr);
23    
24     #endif