From eaeeb5ce0e7282cf0d4db3dd9f39848b0afcb1fa Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 7 Jul 2011 10:02:36 +0200 Subject: s3:libsmb: add trans2_bytes_push_bytes() metze --- source3/libsmb/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/libsmb/proto.h') diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 9783b0d0e8..ac0e031a62 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -357,6 +357,8 @@ uint8_t *smb_bytes_push_bytes(uint8_t *buf, uint8_t prefix, uint8_t *trans2_bytes_push_str(uint8_t *buf, bool ucs2, const char *str, size_t str_len, size_t *pconverted_size); +uint8_t *trans2_bytes_push_bytes(uint8_t *buf, + const uint8_t *bytes, size_t num_bytes); struct tevent_req *cli_open_create(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, const char *fname, -- cgit