git add -f bin/default/librpc/gen_ndr/packet-dcerpc-*
authorStefan Metzmacher <metze@samba.org>
Mon, 4 Nov 2013 10:34:04 +0000 (11:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 4 Nov 2013 11:19:24 +0000 (12:19 +0100)
bin/default/librpc/gen_ndr/packet-dcerpc-spoolss.c

index 686472f381a65feb903138791464be2fa6101e4c..a5bef908e34e920dd7f95586b92a1152f2d35be4 100644 (file)
@@ -24474,12 +24474,12 @@ spoolss_dissect_enum_NotifyTable(tvbuff_t *tvb _U_, int offset _U_, packet_info
 }
 
 
-/* IDL: [ms_union(1)] [switch_type(uint32)] union { */
-/* IDL: [case(1)] [case(1)] uint32 integer[2]; */
-/* IDL: [case(2)] [case(2)] spoolss_NotifyString string; */
-/* IDL: [case(3)] [case(3)] spoolss_DevmodeContainer devmode; */
-/* IDL: [case(4)] [case(4)] spoolss_TimeCtr time; */
-/* IDL: [case(5)] [case(5)] sec_desc_buf sd; */
+/* IDL: [ms_union(1)] [switch_type(spoolss_NotifyTable)] union { */
+/* IDL: [case(NOTIFY_TABLE_DWORD)] [case(NOTIFY_TABLE_DWORD)] uint32 integer[2]; */
+/* IDL: [case(NOTIFY_TABLE_STRING)] [case(NOTIFY_TABLE_STRING)] spoolss_NotifyString string; */
+/* IDL: [case(NOTIFY_TABLE_DEVMODE)] [case(NOTIFY_TABLE_DEVMODE)] spoolss_DevmodeContainer devmode; */
+/* IDL: [case(NOTIFY_TABLE_TIME)] [case(NOTIFY_TABLE_TIME)] spoolss_TimeCtr time; */
+/* IDL: [case(NOTIFY_TABLE_SECURITYDESCRIPTOR)] [case(NOTIFY_TABLE_SECURITYDESCRIPTOR)] sec_desc_buf sd; */
 /* IDL: } */
 
 static int
@@ -24550,23 +24550,23 @@ spoolss_dissect_NotifyData(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo
        ALIGN_TO_5_BYTES;
 
        switch(level) {
-               case 1:
+               case NOTIFY_TABLE_DWORD:
                        offset = spoolss_dissect_element_NotifyData_integer(tvb, offset, pinfo, tree, drep);
                break;
 
-               case 2:
+               case NOTIFY_TABLE_STRING:
                        offset = spoolss_dissect_element_NotifyData_string(tvb, offset, pinfo, tree, drep);
                break;
 
-               case 3:
+               case NOTIFY_TABLE_DEVMODE:
                        offset = spoolss_dissect_element_NotifyData_devmode(tvb, offset, pinfo, tree, drep);
                break;
 
-               case 4:
+               case NOTIFY_TABLE_TIME:
                        offset = spoolss_dissect_element_NotifyData_time(tvb, offset, pinfo, tree, drep);
                break;
 
-               case 5:
+               case NOTIFY_TABLE_SECURITYDESCRIPTOR:
                        offset = spoolss_dissect_element_NotifyData_sd(tvb, offset, pinfo, tree, drep);
                break;
        }