Don't prime the display filter unless we're re-applying it; otherwise,
[obnox/wireshark/wip.git] / packet-dcerpc-spoolss.h
1 /* packet-dcerpc-spoolss.h
2  * Routines for SMB \PIPE\spoolss packet disassembly
3  * Copyright 2001, Tim Potter <tpot@samba.org>
4  *
5  * $Id: packet-dcerpc-spoolss.h,v 1.5 2002/04/09 04:41:40 tpot Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  * 
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  * 
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PACKET_DCERPC_SPOOLSS_H
27 #define __PACKET_DCERPC_SPOOLSS_H
28
29 /* Functions available on the SPOOLSS pipe.  From Samba, 
30    include/rpc_spoolss.h */
31
32 #define SPOOLSS_ENUMPRINTERS                            0x00
33 #define SPOOLSS_OPENPRINTER                             0x01
34 #define SPOOLSS_SETJOB                                  0x02
35 #define SPOOLSS_GETJOB                                  0x03
36 #define SPOOLSS_ENUMJOBS                                0x04
37 #define SPOOLSS_ADDPRINTER                              0x05
38 #define SPOOLSS_DELETEPRINTER                           0x06
39 #define SPOOLSS_SETPRINTER                              0x07
40 #define SPOOLSS_GETPRINTER                              0x08
41 #define SPOOLSS_ADDPRINTERDRIVER                        0x09
42 #define SPOOLSS_ENUMPRINTERDRIVERS                      0x0a
43 #define SPOOLSS_GETPRINTERDRIVER                        0x0b
44 #define SPOOLSS_GETPRINTERDRIVERDIRECTORY               0x0c
45 #define SPOOLSS_DELETEPRINTERDRIVER                     0x0d
46 #define SPOOLSS_ADDPRINTPROCESSOR                       0x0e
47 #define SPOOLSS_ENUMPRINTPROCESSORS                     0x0f
48 #define SPOOLSS_GETPRINTPROCESSORDIRECTORY              0x10
49 #define SPOOLSS_STARTDOCPRINTER                         0x11
50 #define SPOOLSS_STARTPAGEPRINTER                        0x12
51 #define SPOOLSS_WRITEPRINTER                            0x13
52 #define SPOOLSS_ENDPAGEPRINTER                          0x14
53 #define SPOOLSS_ABORTPRINTER                            0x15
54 #define SPOOLSS_READPRINTER                             0x16
55 #define SPOOLSS_ENDDOCPRINTER                           0x17
56 #define SPOOLSS_ADDJOB                                  0x18
57 #define SPOOLSS_SCHEDULEJOB                             0x19
58 #define SPOOLSS_GETPRINTERDATA                          0x1a
59 #define SPOOLSS_SETPRINTERDATA                          0x1b
60 #define SPOOLSS_WAITFORPRINTERCHANGE                    0x1c
61 #define SPOOLSS_CLOSEPRINTER                            0x1d
62 #define SPOOLSS_ADDFORM                                 0x1e
63 #define SPOOLSS_DELETEFORM                              0x1f
64 #define SPOOLSS_GETFORM                                 0x20
65 #define SPOOLSS_SETFORM                                 0x21
66 #define SPOOLSS_ENUMFORMS                               0x22
67 #define SPOOLSS_ENUMPORTS                               0x23
68 #define SPOOLSS_ENUMMONITORS                            0x24
69 #define SPOOLSS_ADDPORT                                 0x25
70 #define SPOOLSS_CONFIGUREPORT                           0x26
71 #define SPOOLSS_DELETEPORT                              0x27
72 #define SPOOLSS_CREATEPRINTERIC                         0x28
73 #define SPOOLSS_PLAYGDISCRIPTONPRINTERIC                0x29
74 #define SPOOLSS_DELETEPRINTERIC                         0x2a
75 #define SPOOLSS_ADDPRINTERCONNECTION                    0x2b
76 #define SPOOLSS_DELETEPRINTERCONNECTION                 0x2c
77 #define SPOOLSS_PRINTERMESSAGEBOX                       0x2d
78 #define SPOOLSS_ADDMONITOR                              0x2e
79 #define SPOOLSS_DELETEMONITOR                           0x2f
80 #define SPOOLSS_DELETEPRINTPROCESSOR                    0x30
81 #define SPOOLSS_ADDPRINTPROVIDOR                        0x31
82 #define SPOOLSS_DELETEPRINTPROVIDOR                     0x32
83 #define SPOOLSS_ENUMPRINTPROCDATATYPES                  0x33
84 #define SPOOLSS_RESETPRINTER                            0x34
85 #define SPOOLSS_GETPRINTERDRIVER2                       0x35
86 #define SPOOLSS_FINDFIRSTPRINTERCHANGENOTIFICATION      0x36
87 #define SPOOLSS_FINDNEXTPRINTERCHANGENOTIFICATION       0x37
88 #define SPOOLSS_FCPN                                    0x38
89 #define SPOOLSS_ROUTERFINDFIRSTPRINTERNOTIFICATIONOLD   0x39
90 #define SPOOLSS_REPLYOPENPRINTER                        0x3a
91 #define SPOOLSS_ROUTERREPLYPRINTER                      0x3b
92 #define SPOOLSS_REPLYCLOSEPRINTER                       0x3c
93 #define SPOOLSS_ADDPORTEX                               0x3d
94 #define SPOOLSS_REMOTEFINDFIRSTPRINTERCHANGENOTIFICATION 0x3e
95 #define SPOOLSS_SPOOLERINIT                             0x3f
96 #define SPOOLSS_RESETPRINTEREX                          0x40
97 #define SPOOLSS_RFFPCNEX                                0x41
98 #define SPOOLSS_RRPCN                                   0x42
99 #define SPOOLSS_RFNPCNEX                                0x43
100 #define SPOOLSS_OPENPRINTEREX                           0x45
101 #define SPOOLSS_ADDPRINTEREX                            0x46
102 #define SPOOLSS_ENUMPRINTERDATA                         0x48
103 #define SPOOLSS_DELETEPRINTERDATA                       0x49
104 #define SPOOLSS_SETPRINTERDATAEX                        0x4d
105 #define SPOOLSS_GETPRINTERDATAEX                        0x4e
106 #define SPOOLSS_ENUMPRINTERDATAEX                       0x4f
107 #define SPOOLSS_ENUMPRINTERKEY                          0x50
108 #define SPOOLSS_DELETEPRINTERDATAEX                     0x51
109 #define SPOOLSS_DELETEPRINTERDRIVEREX                   0x54
110 #define SPOOLSS_ADDPRINTERDRIVEREX                      0x59
111
112 /* Form types */
113
114 #define FORM_USER    0
115 #define FORM_BUILTIN 1
116 #define FORM_PRINTER 2
117
118 #endif /* packet-dcerpc-spoolss.h */