summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-11 18:45:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-01 06:29:03 +0100
commit646aefd998c1af366dcaee6cbc2bad9359a71f45 (patch)
treeb71bd352a33c5552800b8e90e0ec7458540cf424 /pidl/lib/Parse/Pidl/NDR.pm
parent9900aa4fb40321de3d78d499ac5694541db39af0 (diff)
downloadsamba-646aefd998c1af366dcaee6cbc2bad9359a71f45.tar.gz
samba-646aefd998c1af366dcaee6cbc2bad9359a71f45.tar.bz2
samba-646aefd998c1af366dcaee6cbc2bad9359a71f45.zip
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
Diffstat (limited to 'pidl/lib/Parse/Pidl/NDR.pm')
-rw-r--r--pidl/lib/Parse/Pidl/NDR.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/NDR.pm b/pidl/lib/Parse/Pidl/NDR.pm
index 3edb9b732f..5ade5c175a 100644
--- a/pidl/lib/Parse/Pidl/NDR.pm
+++ b/pidl/lib/Parse/Pidl/NDR.pm
@@ -66,6 +66,8 @@ my $scalar_alignment = {
'string' => 4,
'string_array' => 4, #???
'time_t' => 4,
+ 'uid_t' => 8,
+ 'gid_t' => 8,
'NTTIME' => 4,
'NTTIME_1sec' => 4,
'NTTIME_hyper' => 8,