diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-27 08:26:31 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-01 10:21:33 +0200 |
commit | 5a41435e45ae18c0823780382c214fb7324dbe7d (patch) | |
tree | cc9aa3f6c884328dcb4fbc969a7ba45b09ed8282 /src/server/server.h | |
parent | a60a57d8ed1cb28de1eca0e2d6d78d70bd873663 (diff) |
server: split file descriptors in in/out fd's
pipes have different fd's for in/out. This makes the
code more orthogonal and prepares for adding pipes.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/server/server.h')
-rw-r--r-- | src/server/server.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/server.h b/src/server/server.h index a25920ed..b13baaaa 100644 --- a/src/server/server.h +++ b/src/server/server.h @@ -41,6 +41,7 @@ enum connection_type struct connection { int fd; + int fd_out; /* When using pipes we're writing to a different fd */ struct sockaddr_in sin; struct command_context *cmd_ctx; struct service *service; |