summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/rap.h
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/gen_ndr/rap.h')
-rw-r--r--librpc/gen_ndr/rap.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/librpc/gen_ndr/rap.h b/librpc/gen_ndr/rap.h
index 2b7adc6155..e20a569b97 100644
--- a/librpc/gen_ndr/rap.h
+++ b/librpc/gen_ndr/rap.h
@@ -513,6 +513,13 @@ struct rap_PrintJobInfo3 {
uint16_t PrinterNameOffsetHigh;
};
+union rap_printj_info {
+ struct rap_PrintJobInfo0 info0;/* [case(0)] */
+ struct rap_PrintJobInfo1 info1;/* [case] */
+ struct rap_PrintJobInfo2 info2;/* [case(2)] */
+ struct rap_PrintJobInfo3 info3;/* [case(3)] */
+}/* [public,nodiscriminant] */;
+
enum rap_PrintQStatusCode
#ifndef USE_UINT_ENUMS
{
@@ -767,4 +774,22 @@ struct rap_NetPrintQueuePurge {
};
+
+struct rap_NetPrintJobEnum {
+ struct {
+ const char * PrintQueueName;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
+ uint16_t level;
+ uint16_t bufsize;
+ } in;
+
+ struct {
+ enum rap_status status;
+ uint16_t convert;
+ uint16_t count;
+ uint16_t available;
+ union rap_printj_info *info;/* [switch_is(level)] */
+ } out;
+
+};
+
#endif /* _HEADER_rap */