diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2013-04-04 13:24:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-04-10 00:13:45 +0200 |
commit | a70e9db0f325e9be85983c172f0cc68992b0f593 (patch) | |
tree | fb9eb88a6eff178c813fbf1056dfb82369293ad7 /source3/include | |
parent | 98f9e5edd35d6fb54dea74f799b017967b0a13fd (diff) | |
download | samba-a70e9db0f325e9be85983c172f0cc68992b0f593.tar.gz samba-a70e9db0f325e9be85983c172f0cc68992b0f593.tar.bz2 samba-a70e9db0f325e9be85983c172f0cc68992b0f593.zip |
s3:smbd: convert srvstr_pull_req_talloc() into a function
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/srvstr.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/include/srvstr.h b/source3/include/srvstr.h index 7e7d8a2e92..2c6e7ef96a 100644 --- a/source3/include/srvstr.h +++ b/source3/include/srvstr.h @@ -19,12 +19,3 @@ #define srvstr_pull_talloc(ctx, base_ptr, smb_flags2, dest, src, src_len, flags) \ pull_string_talloc(ctx, base_ptr, smb_flags2, dest, src, src_len, flags) - -/* pull a string from the smb_buf part of a packet. In this case the - string can either be null terminated or it can be terminated by the - end of the smbbuf area -*/ - -#define srvstr_pull_req_talloc(ctx, req_, dest, src, flags) \ - pull_string_talloc(ctx, req_->inbuf, req_->flags2, dest, src, \ - smbreq_bufrem(req_, src), flags) |