/usr/include/atheme/datastream.h is in atheme-services 7.2.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /*
* Copyright (c) 2005 Atheme Development Group
* Rights to this code are as documented in doc/LICENSE.
*
* Datastream query stuff.
*
*/
#ifndef ATHEME_DATASTREAM_H
#define ATHEME_DATASTREAM_H
E void sendq_add(connection_t *cptr, char *buf, size_t len);
E void sendq_add_eof(connection_t *cptr);
E void sendq_flush(connection_t *cptr);
E bool sendq_nonempty(connection_t *cptr);
E void sendq_set_limit(connection_t *cptr, size_t len);
E int recvq_length(connection_t *cptr);
E void recvq_put(connection_t *cptr);
E int recvq_get(connection_t *cptr, char *buf, size_t len);
E int recvq_getline(connection_t *cptr, char *buf, size_t len);
E void sendqrecvq_free(connection_t *cptr);
#endif
/* vim:cinoptions=>s,e0,n0,f0,{0,}0,^0,=s,ps,t0,c3,+s,(2s,us,)20,*30,gs,hs
* vim:ts=8
* vim:sw=8
* vim:noexpandtab
*/
|