summaryrefslogtreecommitdiff
path: root/os/osdep.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-06-17 14:03:01 -0400
committerAdam Jackson <ajax@redhat.com>2012-09-20 14:40:18 -0400
commit092c57ab173c8b71056f6feb3b9d04d063a46579 (patch)
tree23049eaf784814ba1d0c68eada1fe5c2cdfaff5d /os/osdep.h
parente2c7d70e5ddb8b17676a13ceebfbb87d14d63243 (diff)
os: Hide the Connection{In,Out}put implementation details
Reviewed-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'os/osdep.h')
-rw-r--r--os/osdep.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/os/osdep.h b/os/osdep.h
index 55db16fe9..0ccdb62ef 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -107,22 +107,8 @@ typedef Bool (*AddAuthorFunc) (unsigned name_length, const char *name,
unsigned data_length, char *data);
#endif
-typedef struct _connectionInput {
- struct _connectionInput *next;
- char *buffer; /* contains current client input */
- char *bufptr; /* pointer to current start of data */
- int bufcnt; /* count of bytes in buffer */
- int lenLastReq;
- int size;
- unsigned int ignoreBytes; /* bytes to ignore before the next request */
-} ConnectionInput, *ConnectionInputPtr;
-
-typedef struct _connectionOutput {
- struct _connectionOutput *next;
- unsigned char *buf;
- int size;
- int count;
-} ConnectionOutput, *ConnectionOutputPtr;
+typedef struct _connectionInput *ConnectionInputPtr;
+typedef struct _connectionOutput *ConnectionOutputPtr;
struct _osComm;