summaryrefslogtreecommitdiff
path: root/source4/include/request.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-04 13:56:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:21 -0500
commit9112a632f6791ffc3c3c1aadd214cbaba8fe816e (patch)
tree129b941d550b15e919461dedcde286f1697ba94d /source4/include/request.h
parent4127edc1afd702ac3bcb77893ba864eb98729451 (diff)
downloadsamba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.tar.gz
samba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.tar.bz2
samba-9112a632f6791ffc3c3c1aadd214cbaba8fe816e.zip
r4063: - change char * -> uint8_t in struct request_buffer
- change smbcli_read/write to take void * for the buffers to match read(2)/write(2) all this fixes a lot of gcc-4 warnings metze (This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)
Diffstat (limited to 'source4/include/request.h')
-rw-r--r--source4/include/request.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/include/request.h b/source4/include/request.h
index fc5fa8442a..587adeef21 100644
--- a/source4/include/request.h
+++ b/source4/include/request.h
@@ -29,7 +29,7 @@
struct request_buffer {
/* the raw SMB buffer, including the 4 byte length header */
- char *buffer;
+ uint8_t *buffer;
/* the size of the raw buffer, including 4 byte header */
uint_t size;
@@ -40,15 +40,15 @@ struct request_buffer {
uint_t allocated;
/* the start of the SMB header - this is always buffer+4 */
- char *hdr;
+ uint8_t *hdr;
/* the command words and command word count. vwv points
into the raw buffer */
- char *vwv;
+ uint8_t *vwv;
uint_t wct;
/* the data buffer and size. data points into the raw buffer */
- char *data;
+ uint8_t *data;
uint_t data_size;
/* ptr is used as a moving pointer into the data area
@@ -56,7 +56,7 @@ struct request_buffer {
* variable in each function is that when a realloc of
* a send packet is done we need to move this
* pointer */
- char *ptr;
+ uint8_t *ptr;
};
#endif