]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
The non-talloc versions of srvstr_pull are not longer needed
authorVolker Lendecke <vl@samba.org>
Sat, 1 Nov 2008 22:30:07 +0000 (23:30 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 1 Nov 2008 22:26:21 +0000 (23:26 +0100)
source3/include/srvstr.h

index 588a807f64b298d2215966c985c60ec6f5d99df2..0e8e275655d15db52c87d8a94e3a847ad10c5386 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#define srvstr_pull(base_ptr, smb_flags2, dest, src, dest_len, src_len, flags) \
-    pull_string(base_ptr, smb_flags2, dest, src, dest_len, src_len, flags)
-
-/* talloc version of above. */
 #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)
 
@@ -29,9 +25,5 @@
    end of the smbbuf area 
 */
 
-#define srvstr_pull_buf(inbuf, smb_flags2, dest, src, dest_len, flags) \
-    pull_string(inbuf, smb_flags2, dest, src, dest_len, smb_bufrem(inbuf, src), flags)
-
-/* talloc version of above. */
 #define srvstr_pull_buf_talloc(ctx, inbuf, smb_flags2, dest, src, flags) \
     pull_string_talloc(ctx, inbuf, smb_flags2, dest, src, smb_bufrem(inbuf, src), flags)