summaryrefslogtreecommitdiff
path: root/source/include/rpc_spoolss.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-01-28 04:51:56 +0000
committerLuke Leighton <lkcl@samba.org>2000-01-28 04:51:56 +0000
commit1a064f6b85b6b60aa7bc848db6b7caeb2022cc37 (patch)
tree191cc28859d7cb982cbf8c72238c00c331686553 /source/include/rpc_spoolss.h
parent62ab6f828ade15e65c080066b14a37b9ef811c4d (diff)
downloadsamba-1a064f6b85b6b60aa7bc848db6b7caeb2022cc37.tar.gz
spoolss_enumports conversion
Diffstat (limited to 'source/include/rpc_spoolss.h')
-rwxr-xr-xsource/include/rpc_spoolss.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/source/include/rpc_spoolss.h b/source/include/rpc_spoolss.h
index a029fcb6dca..85d04e1230a 100755
--- a/source/include/rpc_spoolss.h
+++ b/source/include/rpc_spoolss.h
@@ -1077,16 +1077,23 @@ typedef struct spool_q_enumports
uint32 buf_size;
} SPOOL_Q_ENUMPORTS;
-typedef struct spool_r_enumports
+typedef struct port_info_ctr_info
{
- uint32 level;
union {
- PORT_INFO_1 *port_info_1;
- PORT_INFO_2 *port_info_2;
+ PORT_INFO_1 *info_1;
+ PORT_INFO_2 *info_2;
} port;
+
+} PORT_INFO_CTR;
+
+typedef struct spool_r_enumports
+{
+ uint32 level;
+ PORT_INFO_CTR ctr;
uint32 offered;
uint32 numofports;
uint32 status;
+
} SPOOL_R_ENUMPORTS;
#define JOB_CONTROL_PAUSE 1