svn commit: samba r16996 - in branches/SAMBA_4_0/source/librpc/ndr: .

metze at samba.org metze at samba.org
Wed Jul 12 20:16:45 GMT 2006


Author: metze
Date: 2006-07-12 20:16:44 +0000 (Wed, 12 Jul 2006)
New Revision: 16996

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16996

Log:
use the correct types, merge from samba3

metze
Modified:
   branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c	2006-07-12 19:33:53 UTC (rev 16995)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_string.c	2006-07-12 20:16:44 UTC (rev 16996)
@@ -556,7 +556,7 @@
 	return NT_STATUS_OK;
 }
 
-_PUBLIC_ NTSTATUS ndr_pull_charset(struct ndr_pull *ndr, int ndr_flags, const char **var, uint32_t length, uint8_t byte_mul, int chset)
+_PUBLIC_ NTSTATUS ndr_pull_charset(struct ndr_pull *ndr, int ndr_flags, const char **var, uint32_t length, uint8_t byte_mul, charset_t chset)
 {
 	int ret;
 	if (length == 0) {
@@ -584,7 +584,7 @@
 	return NT_STATUS_OK;
 }
 
-_PUBLIC_ NTSTATUS ndr_push_charset(struct ndr_push *ndr, int ndr_flags, const char *var, uint32_t length, uint8_t byte_mul, int chset)
+_PUBLIC_ NTSTATUS ndr_push_charset(struct ndr_push *ndr, int ndr_flags, const char *var, uint32_t length, uint8_t byte_mul, charset_t chset)
 {
 	ssize_t ret, required;
 
@@ -614,7 +614,7 @@
 }
 
 /* Return number of elements in a string in the specified charset */
-_PUBLIC_ uint32_t ndr_charset_length(const void *var, int chset)
+_PUBLIC_ uint32_t ndr_charset_length(const void *var, charset_t chset)
 {
 	/* FIXME: Treat special chars special here, taking chset into account */
 	/* Also include 0 byte */



More information about the samba-cvs mailing list