diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-09 08:13:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:56 -0500 |
commit | 1c07c25322802eef7b57dda3975baca6c9114c83 (patch) | |
tree | 702ec96e983e546d1bbbcf553076f7deee83e0c0 /source4/libcli/raw/libcliraw.h | |
parent | 8752e38c05779b6ff72bb0bf49940ef6afe55184 (diff) | |
download | samba-1c07c25322802eef7b57dda3975baca6c9114c83.tar.gz samba-1c07c25322802eef7b57dda3975baca6c9114c83.tar.bz2 samba-1c07c25322802eef7b57dda3975baca6c9114c83.zip |
r11596: switched the libcli/raw/ code over to using the lib/stream/ generic
packet parsing code. This simplifies the logic in the raw client
library a fair bit
(This used to be commit f8d43f1f67876360e1295d85a3c3702d1d60ed7b)
Diffstat (limited to 'source4/libcli/raw/libcliraw.h')
-rw-r--r-- | source4/libcli/raw/libcliraw.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/source4/libcli/raw/libcliraw.h b/source4/libcli/raw/libcliraw.h index bb13210e74..a853bd177c 100644 --- a/source4/libcli/raw/libcliraw.h +++ b/source4/libcli/raw/libcliraw.h @@ -154,13 +154,8 @@ struct smbcli_transport { know the server name */ struct nbt_name called; - /* a buffer for partially received SMB packets. */ - struct { - uint8_t header[NBT_HDR_SIZE]; - size_t req_size; - size_t received; - uint8_t *buffer; - } recv_buffer; + /* context of the stream -> packet parser */ + struct packet_context *packet; }; /* this is the context for the user */ |