1 ###################################################
2 # Samba4 parser generator for IDL structures
3 # Copyright jelmer@samba.org 2005
4 # released under the GNU GPL
15 $typedefs{$t->{NAME}} = $t;
21 return undef unless(defined($typedefs{$t}));
28 return 1 if defined($typedefs{$t});
32 sub RegisterPrimitives()
35 "char", "int8", "uint8", "short", "wchar_t",
36 "int16", "uint16", "long", "int32", "uint32",
37 "dlong", "udlong", "udlongr", "NTTIME", "NTTIME_1sec",
38 "time_t", "DATA_BLOB", "error_status_t", "WERROR",
39 "NTSTATUS", "boolean32", "unsigned32", "ipv4address",
40 "hyper", "NTTIME_hyper");
42 foreach my $k (@primitives) {