From 646aefd998c1af366dcaee6cbc2bad9359a71f45 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 11 Feb 2011 18:45:32 +1100 Subject: pidl Add support for uid_t and gid_t types These are mapped to uint64_t, which should be big enough. This is proposed to be used for internal Samba representations, where it would be more painful to convert all the callers to an uint64_t calling convention. Andrew Bartlett --- librpc/ndr/libndr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'librpc/ndr/libndr.h') diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index 21e4bdaeec..c9e8a6272e 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -490,6 +490,8 @@ NDR_SCALAR_PROTO(dlong, int64_t) NDR_SCALAR_PROTO(hyper, uint64_t) NDR_SCALAR_PROTO(pointer, void *) NDR_SCALAR_PROTO(time_t, time_t) +NDR_SCALAR_PROTO(uid_t, uid_t) +NDR_SCALAR_PROTO(gid_t, gid_t) NDR_SCALAR_PROTO(NTSTATUS, NTSTATUS) NDR_SCALAR_PROTO(WERROR, WERROR) NDR_SCALAR_PROTO(NTTIME, NTTIME) -- cgit