summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawrequest.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-17 06:27:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:23 -0500
commitc3cd4a0087d61a147f4a2f06f1668230f6704e7c (patch)
tree08f3177671ea4963943e41cfb7aff60d14841f9b /source4/libcli/raw/rawrequest.c
parent7a43b32c3b6aeae3572c810fef243d883fe74f28 (diff)
downloadsamba-c3cd4a0087d61a147f4a2f06f1668230f6704e7c.tar.gz
samba-c3cd4a0087d61a147f4a2f06f1668230f6704e7c.tar.bz2
samba-c3cd4a0087d61a147f4a2f06f1668230f6704e7c.zip
r11756: split out the parsers for the pass-through levels of QFSINFO and
QFILEINFO levels in trans2, so they can be shared with SMB2 (This used to be commit 5ca2d609e6a3766ebd07763f850ecc62209a7db7)
Diffstat (limited to 'source4/libcli/raw/rawrequest.c')
-rw-r--r--source4/libcli/raw/rawrequest.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source4/libcli/raw/rawrequest.c b/source4/libcli/raw/rawrequest.c
index 33ac9c55b1..6e02ddc5c1 100644
--- a/source4/libcli/raw/rawrequest.c
+++ b/source4/libcli/raw/rawrequest.c
@@ -737,8 +737,8 @@ NTTIME smbcli_pull_nttime(void *base, uint16_t offset)
of bytes consumed in the blob is returned
*/
static size_t smbcli_blob_pull_ucs2(TALLOC_CTX* mem_ctx,
- DATA_BLOB *blob, const char **dest,
- const uint8_t *src, int byte_len, uint_t flags)
+ const DATA_BLOB *blob, const char **dest,
+ const uint8_t *src, int byte_len, uint_t flags)
{
int src_len, src_len2, alignment=0;
ssize_t ret;
@@ -793,8 +793,8 @@ static size_t smbcli_blob_pull_ucs2(TALLOC_CTX* mem_ctx,
of bytes consumed in the blob is returned
*/
static size_t smbcli_blob_pull_ascii(TALLOC_CTX *mem_ctx,
- DATA_BLOB *blob, const char **dest,
- const uint8_t *src, int byte_len, uint_t flags)
+ const DATA_BLOB *blob, const char **dest,
+ const uint8_t *src, int byte_len, uint_t flags)
{
int src_len, src_len2;
ssize_t ret;
@@ -841,11 +841,11 @@ static size_t smbcli_blob_pull_ascii(TALLOC_CTX *mem_ctx,
of bytes consumed in the blob is returned
*/
size_t smbcli_blob_pull_string(struct smbcli_session *session,
- TALLOC_CTX *mem_ctx,
- DATA_BLOB *blob,
- WIRE_STRING *dest,
- uint16_t len_offset, uint16_t str_offset,
- uint_t flags)
+ TALLOC_CTX *mem_ctx,
+ const DATA_BLOB *blob,
+ WIRE_STRING *dest,
+ uint16_t len_offset, uint16_t str_offset,
+ uint_t flags)
{
int extra;
dest->s = NULL;