diff options
author | Volker Lendecke <vl@samba.org> | 2008-08-25 14:40:15 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-08-28 17:53:37 +0200 |
commit | 77d1b29e25512982a1f912adac46bb954ee3d19f (patch) | |
tree | 1c7512c46d8fc33f68aaced1dd92defbe88f683c /source3/include/client.h | |
parent | 128524930d490fb5ea637d99bffb36157c80869b (diff) | |
download | samba-77d1b29e25512982a1f912adac46bb954ee3d19f.tar.gz samba-77d1b29e25512982a1f912adac46bb954ee3d19f.tar.bz2 samba-77d1b29e25512982a1f912adac46bb954ee3d19f.zip |
Move "struct cli_request" from client.h to async_smb.h
Also add some comments
(This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index be12288f28..6a6e1a2faa 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -216,33 +216,12 @@ struct cli_state { struct fd_event *fd_event; char *evt_inbuf; + /** + * A linked list of requests that are waiting for a reply + */ struct cli_request *outstanding_requests; }; -struct cli_request { - struct cli_request *prev, *next; - struct async_req *async; - - struct cli_state *cli; - - struct smb_trans_enc_state *enc_state; - - uint16_t mid; - - char *outbuf; - size_t sent; - char *inbuf; - - union { - struct { - off_t ofs; - size_t size; - ssize_t received; - uint8_t *rcvbuf; - } read; - } data; -}; - typedef struct file_info { struct cli_state *cli; SMB_BIG_UINT size; |