1 /* packet-dcerpc-spoolss.h
2 * Routines for SMB \PIPE\spoolss packet disassembly
3 * Copyright 2001, Tim Potter <tpot@samba.org>
5 * $Id: packet-dcerpc-spoolss.h,v 1.3 2001/12/16 20:08:22 guy Exp $
7 * Ethereal - Network traffic analyzer
8 * By Gerald Combs <gerald@ethereal.com>
9 * Copyright 1998 Gerald Combs
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.
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.
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.
26 #ifndef __PACKET_DCERPC_SPOOLSS_H
27 #define __PACKET_DCERPC_SPOOLSS_H
29 /* Functions available on the SPOOLSS pipe. From Samba,
30 include/rpc_spoolss.h */
32 #define SPOOLSS_ENUMPRINTERS 0x00
33 #define SPOOLSS_SETJOB 0x02
34 #define SPOOLSS_GETJOB 0x03
35 #define SPOOLSS_ENUMJOBS 0x04
36 #define SPOOLSS_ADDPRINTER 0x05
37 #define SPOOLSS_DELETEPRINTER 0x06
38 #define SPOOLSS_SETPRINTER 0x07
39 #define SPOOLSS_GETPRINTER 0x08
40 #define SPOOLSS_ADDPRINTERDRIVER 0x09
41 #define SPOOLSS_ENUMPRINTERDRIVERS 0x0a
42 #define SPOOLSS_GETPRINTERDRIVERDIRECTORY 0x0c
43 #define SPOOLSS_DELETEPRINTERDRIVER 0x0d
44 #define SPOOLSS_ADDPRINTPROCESSOR 0x0e
45 #define SPOOLSS_ENUMPRINTPROCESSORS 0x0f
46 #define SPOOLSS_STARTDOCPRINTER 0x11
47 #define SPOOLSS_STARTPAGEPRINTER 0x12
48 #define SPOOLSS_WRITEPRINTER 0x13
49 #define SPOOLSS_ENDPAGEPRINTER 0x14
50 #define SPOOLSS_ABORTPRINTER 0x15
51 #define SPOOLSS_ENDDOCPRINTER 0x17
52 #define SPOOLSS_ADDJOB 0x18
53 #define SPOOLSS_SCHEDULEJOB 0x19
54 #define SPOOLSS_GETPRINTERDATA 0x1a
55 #define SPOOLSS_SETPRINTERDATA 0x1b
56 #define SPOOLSS_CLOSEPRINTER 0x1d
57 #define SPOOLSS_ADDFORM 0x1e
58 #define SPOOLSS_DELETEFORM 0x1f
59 #define SPOOLSS_GETFORM 0x20
60 #define SPOOLSS_SETFORM 0x21
61 #define SPOOLSS_ENUMFORMS 0x22
62 #define SPOOLSS_ENUMPORTS 0x23
63 #define SPOOLSS_ENUMMONITORS 0x24
64 #define SPOOLSS_ENUMPRINTPROCDATATYPES 0x33
65 #define SPOOLSS_GETPRINTERDRIVER2 0x35
66 #define SPOOLSS_FCPN 0x38
67 #define SPOOLSS_REPLYOPENPRINTER 0x3a
68 #define SPOOLSS_REPLYCLOSEPRINTER 0x3c
69 #define SPOOLSS_RFFPCNEX 0x41
70 #define SPOOLSS_RRPCN 0x42
71 #define SPOOLSS_RFNPCNEX 0x43
72 #define SPOOLSS_OPENPRINTEREX 0x45
73 #define SPOOLSS_ADDPRINTEREX 0x46
74 #define SPOOLSS_ENUMPRINTERDATA 0x48
75 #define SPOOLSS_DELETEPRINTERDATA 0x49
76 #define SPOOLSS_GETPRINTERDATAEX 0x4e
77 #define SPOOLSS_SETPRINTERDATAEX 0x50
79 #endif /* packet-dcerpc-spoolss.h */