summaryrefslogtreecommitdiff
path: root/source3/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-01-31 11:30:36 +0000
committerTim Potter <tpot@samba.org>2002-01-31 11:30:36 +0000
commit10d47e3068598e6e2548b9d328c447417b123184 (patch)
tree7b97f4d2529e1615bb8d23b67a63274011874795 /source3/include/rpc_spoolss.h
parenta31cd9c13ab1704b88c0153e2df72031b5467902 (diff)
downloadsamba-10d47e3068598e6e2548b9d328c447417b123184.tar.gz
samba-10d47e3068598e6e2548b9d328c447417b123184.tar.bz2
samba-10d47e3068598e6e2548b9d328c447417b123184.zip
Added some constants for the flags field in the FORM_1 structure.
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure as a discriminated union. (This used to be commit 2c906ff77d81bc7097129d3f34be48857ce3a48b)
Diffstat (limited to 'source3/include/rpc_spoolss.h')
-rwxr-xr-xsource3/include/rpc_spoolss.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index 3975f3580f..f41a656fa6 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -1253,6 +1253,10 @@ typedef struct spool_r_enumprinterdrivers
}
SPOOL_R_ENUMPRINTERDRIVERS;
+#define FORM_USER 0
+#define FORM_BUILTIN 1
+#define FORM_PRINTER 2
+
typedef struct spool_form_1
{
uint32 flag;
@@ -1759,7 +1763,7 @@ typedef struct spool_q_addform
{
POLICY_HND handle;
uint32 level;
- uint32 level2;
+ uint32 level2; /* This should really be part of the FORM structure */
FORM form;
}
SPOOL_Q_ADDFORM;