Revision: | 1.3 |
Committed: | Tue Aug 28 17:08:06 2007 UTC (16 years, 9 months ago) by pippijn |
Content type: | text/plain |
Branch: | MAIN |
Changes since 1.2: | +4 -4 lines |
Log Message: | - changed name - updated the example config to the new system - added more documentation - enhanced documentation generators - added a link to the pdf to the website - added an RSS feed generator - transitioned hooks to c++ callbacks - did various merges with upstream along the way - added const where appropriate - removed the old block allocator - fixed most memory leaks - transitioned some dictionaries to std::map - transitioned some lists to std::vector - made some free functions members where appropriate - renamed string to dynstr and added a static string ststr - use NOW instead of time (NULL) if possible - completely reworked database backends, crypto handlers and protocol handlers to use an object factory - removed the old module system. ermyth does not do any dynamic loading anymore - fixed most of the build system - reworked how protocol commands work |
# | Content |
---|---|
1 | /* |
2 | * Copyright © 2005 Atheme Development Group |
3 | * Rights to this code are as documented in doc/pod/license.pod. |
4 | * |
5 | * Datastream query stuff. |
6 | * |
7 | * $Id: datastream.h,v 1.2 2007-07-21 01:29:07 pippijn Exp $ |
8 | */ |
9 | #ifndef DATASTREAM_H |
10 | #define DATASTREAM_H |
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 |