X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.h;h=3c47c62c39b3bd98afa83d201c345d1efd9f92a1;hb=a4d24b8434d3e7177cb40db063cfa8c39f6379be;hp=3b05a2b0d8a7dd1659cdea2eeae93685f0208669;hpb=1472e247d25c64dd52a1e0d8166946c003b74581;p=citadel.git diff --git a/citadel/context.h b/citadel/context.h index 3b05a2b0d..3c47c62c3 100644 --- a/citadel/context.h +++ b/citadel/context.h @@ -27,13 +27,13 @@ struct CitContext { int state; /* thread state (see CON_ values below) */ int kill_me; /* Set to nonzero to flag for termination */ - const char *Pos; /* Our read position inside of the ReadBuf */ - StrBuf *ReadBuf; /* Our block buffered read buffer */ - StrBuf *MigrateBuf; /* Our block buffered read buffer */ + IOBuffer SendBuf, /* Our write Buffer */ + RecvBuf, /* Our block buffered read buffer */ + SBuf; /* Our block buffered read buffer for clients */ - const char *sPos; /* Our read position inside of the ReadBuf */ - StrBuf *sReadBuf; /* Our block buffered read buffer */ + StrBuf *MigrateBuf; /* 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? */