1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-05 12:23:50 +03:00

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 commit is contained in:
Tim Potter
-
parent e4c13c51fa
commit 2c906ff77d

View File

@@ -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;