git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31cd9c
)
Added some constants for the flags field in the FORM_1 structure.
author
Tim Potter
<tpot@samba.org>
Thu, 31 Jan 2002 11:30:36 +0000
(11:30 +0000)
committer
Tim Potter
<tpot@samba.org>
Thu, 31 Jan 2002 11:30:36 +0000
(11:30 +0000)
The level2 field in SPOOL_Q_ADDFORM is probably part of the FORM structure
as a discriminated union.
(This used to be commit
2c906ff77d81bc7097129d3f34be48857ce3a48b
)
source3/include/rpc_spoolss.h
patch
|
blob
|
history
diff --git
a/source3/include/rpc_spoolss.h
b/source3/include/rpc_spoolss.h
index 3975f3580f5d8d2290c9c9cd1b165b633d512903..f41a656fa67b6ce55822d0cf283b43a3bbdb71e3 100755
(executable)
--- 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;