* custom sockets need to work buffered too...
[citadel.git] / citadel / context.h
index f9c3aeada7a6241271a5ff513fe9ae6b04ace877..1e57f2f39fc9ec7798ae660fbde2348c7f35b0b2 100644 (file)
@@ -31,6 +31,10 @@ struct CitContext {
        const char *Pos;        /* Our read position inside of the ReadBuf */
        StrBuf *ReadBuf;        /* Our block buffered read buffer */
        StrBuf *MigrateBuf;        /* Our block buffered read buffer */
+
+       const char *sPos;        /* Our read position inside of the ReadBuf */
+       StrBuf *sReadBuf;        /* Our block buffered read buffer */
+       StrBuf *sMigrateBuf;        /* Our block buffered read buffer */
        int client_socket;
        int is_local_socket;    /* set to 1 if client is on unix domain sock */
        /* Redirect this session's output to a memory buffer? */