diff options
author | Günther Deschner <gd@samba.org> | 2010-04-30 13:52:14 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-30 13:52:14 +0200 |
commit | cd90e002bdc3e84c1f09994bd458bc3a420ae195 (patch) | |
tree | f7b7b049d274f786d025d2eefd2d615ebaa4bbf2 /librpc/idl/rap.idl | |
parent | 52b669b68e7de2ffa2b55ebfde90f9419f3b068b (diff) | |
download | samba-cd90e002bdc3e84c1f09994bd458bc3a420ae195.tar.gz |
s3: add rap_NetPrintJobEnum (again a call not documented in MS-RAP).
Guenther
Diffstat (limited to 'librpc/idl/rap.idl')
-rw-r--r-- | librpc/idl/rap.idl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/librpc/idl/rap.idl b/librpc/idl/rap.idl index b9bdae9b43e..8035327fee3 100644 --- a/librpc/idl/rap.idl +++ b/librpc/idl/rap.idl @@ -470,6 +470,13 @@ interface rap uint16 PrinterNameOffsetHigh; } rap_PrintJobInfo3; + typedef [public,nodiscriminant] union { + [case(0)] rap_PrintJobInfo0 info0; + [case(1)] rap_PrintJobInfo1 info1; + [case(2)] rap_PrintJobInfo2 info2; + [case(3)] rap_PrintJobInfo3 info3; + } rap_printj_info; + typedef [public] enum { PRQ_ACTIVE = 0x0000, PRQ_PAUSE = 0x0001, @@ -609,6 +616,18 @@ interface rap [out] uint16 convert ); + /* not documented in MS-RAP */ + [public] void rap_NetPrintJobEnum( + [in] astring PrintQueueName, + [in] uint16 level, + [in] uint16 bufsize, + [out] rap_status status, + [out] uint16 convert, + [out] uint16 count, + [out] uint16 available, + [out,switch_is(level)] rap_printj_info info[count] + ); + /* Parameter description strings for RAP calls */ /* Names are defined name for RAP call with _REQ */ /* appended to end. */ |