1 | /* |
1 | /* |
2 | * Copyright © 2005 Atheme Development Group |
2 | * Copyright © 2005 Atheme Development Group |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
4 | * |
4 | * |
5 | * Datastream query stuff. |
5 | * Datastream query stuff. |
6 | * |
6 | * |
7 | * $Id: datastream.h,v 1.2 2007/07/21 01:29:07 pippijn Exp $ |
7 | * $Id: datastream.h,v 1.3 2007/08/28 17:08:06 pippijn Exp $ |
8 | */ |
8 | */ |
9 | #ifndef __CLARODATASTREAM |
9 | #ifndef DATASTREAM_H |
10 | #define __CLARODATASTREAM |
10 | #define DATASTREAM_H |
11 | |
11 | |
12 | E void sendq_add (connection_t *cptr, char *buf, int len); |
12 | E void sendq_add (connection_t *cptr, char *buf, int len); |
13 | E void sendq_add_eof (connection_t *cptr); |
13 | E void sendq_add_eof (connection_t *cptr); |
14 | E void sendq_flush (connection_t *cptr); |
14 | E void sendq_flush (connection_t *cptr); |
15 | E bool sendq_nonempty (connection_t *cptr); |
15 | E bool sendq_nonempty (connection_t *cptr); |