summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/spoolss.idl
AgeCommit message (Collapse)AuthorFilesLines
2008-04-08Add [todo] for functions that are obviously incomplete.Jelmer Vernooij1-51/+51
(This used to be commit b7b46ddd412bd106655c2a7b96a322d9f6ac3019)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-1/+1
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-13spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any moreStefan Metzmacher1-5/+6
metze (This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
2008-02-12spoolss.idl: don't use string32 anymore and use an charset() arrayStefan Metzmacher1-2/+2
metze (This used to be commit 746a715715c7af8036192ba6d74e282ceaec8c0d)
2008-02-04spoolss.idl: don't use pointer_default_top() and specify "unique" explizitStefan Metzmacher1-68/+67
Note: this doesn't change the generated output! metze (This used to be commit c472935c984016f0a26ef7851b6472d45b4ac510)
2008-01-12idl: Use typedef rather than declare.Jelmer Vernooij1-1/+1
(This used to be commit 3fd750bd54f150ff62fd8165406bd26d03d624cf)
2007-12-21r26395: spoolss: Add WinXP-like printer browsing test.Kai Blin1-3/+64
(This used to be commit 2ccc4d2af58b49ab1319ce87e0f15591b40db06f)
2007-10-10r21429: Fix the build.Jelmer Vernooij1-3/+3
(This used to be commit 88fbf9af24a346d3d99af32b8574507b0590846a)
2007-10-10r21426: Add more spoolss tests.Jelmer Vernooij1-5/+5
(This used to be commit 8b31fba826e5e76031979755f9682a8da5c59148)
2007-10-10r21425: Add ReplyClosePrinter.Jelmer Vernooij1-1/+2
(This used to be commit 745d0eae1a0f681f6a08a7cc259834ddbb5fa023)
2007-10-10r21424: Add FindClosePrinterNotify.Jelmer Vernooij1-1/+2
(This used to be commit 0ed195f45fed12905278ba60eabe02a11b59eb90)
2007-10-10r21422: Add IDL for EnumPrinterKey and RemoteFindNextPrinterChangeNotifyEx.Jelmer Vernooij1-17/+102
(This used to be commit 883df28d6ebb1993add95174fe2694154995354b)
2007-10-10r21414: Fill in IDL for ReplyOpenPrinter.Jelmer Vernooij1-7/+14
(This used to be commit 9e6d43c45cec24a391d8134a9c177461aabb3e6c)
2007-10-10r19588: Use include and import statements rather than depends() and helper().Jelmer Vernooij1-1/+1
(This used to be commit 347ae9628202ca4de4318ef8156999239aad9192)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij1-2/+1
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r16523: pass spoolss_XcvData calls to the ntptr backends...Stefan Metzmacher1-1/+10
I wrote this code last year and found it in a working tree... metze (This used to be commit 9a685c5beff6936d354d541e875899d33b735ba9)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+2
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r14361: Support 'helper' attribute in pidl and use it.Jelmer Vernooij1-1/+2
Remove some headers from include/includes.h (they're now only included in the file they are used) (This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
2007-10-10r12465: Merge Parse::Pidl::Samba4::NDR::Header into ↵Jelmer Vernooij1-2/+2
Parse::Pidl::Samba4::NDR::Parser. Small optimization to avoid including NDR headers multiple times (This used to be commit 6967b9884970b6f1d7617196ab024d401628a13c)
2007-10-10r11101: Remove last instances of unistrJelmer Vernooij1-49/+49
(This used to be commit 7e057e6bdaf82bf8acdfc5d656dd75f367e70bf2)
2007-10-10r9149: add support for string arrays in GetPrinterDataStefan Metzmacher1-1/+3
metze (This used to be commit b72062e653b1d87d957f1f10415cdd034cac4bdb)
2007-10-10r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerDataStefan Metzmacher1-0/+22
metze (This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-14/+9
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10r7644: - remove some dublicate structures SetForm and AddForm uses the same ↵Stefan Metzmacher1-25/+14
struct - fix some typos in EnumPrintServerForms()/GetPrintServerForms() - add AddPrintServerForms()/SetPrintServerForms() and DeletePrintServerForms metze (This used to be commit 73906388421beebb34f2a00c9e0d1fc8b400a42a)
2007-10-10r7643: This patch adds a new NTPTR subsystem:Stefan Metzmacher1-1/+1
- this is an abstraction layer for print services, like out NTVFS subsystem for file services - all protocol specific details are still in rpc_server/spoolss/ - like the stupid in and out Buffer handling - checking of the r->in.server_name - ... - this subsystem can have multiple implementation selected by the "ntptr providor" global-section parameter - I currently added a "simple_ldb" backend, that stores Printers, Forms, Ports, Monitors, ... in the spoolss.db, and does no real printing this backend is basicly for testing, how the spoolss protocol works - the interface is just a prototype and will be changed a bit the next days or weeks, till the simple_ldb backend can handle all calls that are used by normal w2k3/xp clients - I'll also make the api async, as the ntvfs api this will make things like the RemoteFindFirstPrinterChangeNotifyEx(), that opens a connection back to the client, easier to implement, as we should not block the whole smbd for that - the idea is to later implement a "unix" backend that works like the current samba3 code - and maybe some embedded print server vendors can write there own backend that can directly talk to a printer without having cups or something like this - the default settings are (it currently makes no sense to change them :-): ntptr providor = simple_ldb spoolss database = $private_dir/spoolss.db metze (This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2007-10-10r7580: - add GetPrinterDriverDirectory() idl, torture test and server codeStefan Metzmacher1-0/+19
- add EnumMonitors() server code and return "Standard TCP/IP Port" - add parsing for opening Ports and Monitors with OpenPrinterEx() metze (This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e)
2007-10-10r7575: - fix GetPrinterData() push sideStefan Metzmacher1-12/+12
- add somemore checks in the Emun*() pull/push glue code metze (This used to be commit 075fe1eb4b6b2d00cdd9965656598aaec53da638)
2007-10-10r7574: - seperate [in] and [out] buffers and buf_sizesStefan Metzmacher1-64/+94
- use the same names as etherel (offered,needed) for the buffer sizes (and they are really independently used) metze (This used to be commit f5532a5b74e972f44ed8aa19ee9c5851a4b40f65)
2007-10-10r7552: Use ParseExpr() for [value] attributes; allowsJelmer Vernooij1-2/+2
us somewhat cleaner IDL. (This used to be commit b7b01bccd101654d1f5ec83cba9dea7e9431d6ce)
2007-10-10r7357: some minor updatesStefan Metzmacher1-4/+7
metze (This used to be commit a547f2c2a190ec5cfaa6a3b3917159b3aa616f59)
2007-10-10r7345: add WritePrinter(), AbortPrinter() and ReadPrinter() idlStefan Metzmacher1-0/+9
metze (This used to be commit 1fc617e871729bccf38c0b5dd8316f78d2de727d)
2007-10-10r7341: fix StartDocPrinter() idlStefan Metzmacher1-1/+1
metze (This used to be commit 08d28e5d20bc689a2cdc779e7a99e3902abf99db)
2007-10-10r7337: - fix SetJob() idlStefan Metzmacher1-22/+52
- add StartDocPrinter() idl - add EndDocPrinter() idl metze (This used to be commit c635a623bc1fe6c78db9adf25500abc1f6ce9abe)
2007-10-10r7331: fix parsing of spoolss_SetPrinter()Stefan Metzmacher1-10/+25
metze (This used to be commit b0e7092bc585912882d06c56fd7a536c9b8936d6)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher1-5/+27
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7326: fix [validate]Stefan Metzmacher1-1/+1
metze (This used to be commit 08eb591034573b2748dad44f53ba7a806657e9e7)
2007-10-10r7188: make use of the new relative_base property for the spoolss_Enum* ↵Stefan Metzmacher1-14/+14
functions metze (This used to be commit 870ed3a2b528a9c869392b7ac31e90917bd66ed0)
2007-10-10r7182: remove current support for RELATIVE_CURRENT, this will be replaced ↵Stefan Metzmacher1-1/+1
with a better aproach later metze (This used to be commit 9a4e9f68fbddaae3fc86e30d39b69fc76261c0ea)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-23/+107
parsing code for the spoolss_Enum* functions, there still same handwritten code needed but just to stack the autogenerated code into the correct way metze (This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10r7029: Make array support in pidl similar to that in other IDL compilers. We ↵Jelmer Vernooij1-2/+2
should now able to use constructions like these: [size_is(20)] int *x; -> Pointer to array of 20 ints [size_is(20)] int x[]; -> Array of 20 ints [size_is(20)] int *x[]; -> Array of 20 pointers to ints [size_is(20,)] int *x[] -> Array of 20 pointers to ints [size_is(,20)] int *x[]; -> Pointer to array of 20 ints [size_is(,20)] int **x; -> Pointer to pointer to array of 20 ints [size_is(20)] int x[][30]; -> 20 blocks of 30 ints (This used to be commit ecf583da71c2f80be124c17fccdcb284b47e0695)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-0/+1
The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10r6572: add "string_array" as new scalar type for handling SPOOLSS string array'sStefan Metzmacher1-5/+5
metze (This used to be commit 23b529ee090e1858fc18794b949f7e466fa82b0e)
2007-10-10r6194: - fix some spoolss_*Form names and typesStefan Metzmacher1-27/+73
- fix GetPrinterData(), look inside the datablob - add idl for RemoteFindFirstChangeNotify(), without meaning yet, just to not return a DCERPC_FAULT when receiving this request metze (This used to be commit 92f3d5bd9c700032612ac20dc7635730c555c4da)
2007-10-10r6179: - add new spoolss tests for all spoolss_Enum*() calls which didn't needStefan Metzmacher1-2/+49
a handle as parameter, EnumPorts EnumPrinterDrivers EnumMonitors EnumPrintProcessors EnumPrinters we now do cross checks between the different info levels and sore the results in a global context, so that we later can add cross checks between the different object types - add idl for EnumMonitors and EnumPrintProcessors metze (This used to be commit 92a3721bc7a28d521090b10eb3b1eed089036432)
2007-10-10r6100: - fix nondiscriminant -> nodiscriminant (that takes me 2 days to ↵Stefan Metzmacher1-4/+4
find...:-( ) - use a DATA_BLOB for the driver specific data in the devmode metze (This used to be commit 87d48b20769666b568ac1115246b58995d221148)
2007-10-10r5554: Constants and untested IDL for spoolss_SetPrinter()Tim Potter1-0/+14
(This used to be commit eed816e20f9cfcfc7bc475f1007578dcd2fd8ae0)
2007-10-10r5553: Add idl and test for spoolss_AddPort(). It always seems to returnTim Potter1-0/+3
WERR_NOT_SUPPORTED though. (This used to be commit ba4730a37838f45db1b77b777af8efdb45a06006)
2007-10-10r5537: - make use of bitmaps and enumsStefan Metzmacher1-22/+152
- add and fix some PrinterInfo levels - add and fix some DriverInfo levels - fix EnumPrinterDriver torture test the curent RPC-SPOOLSS now passes on w2k3 metze (This used to be commit 14b88ca20dc64702f1c1b457a09b1f13b1964654)
2007-10-10r5515: fix PrinterInfo3Stefan Metzmacher1-2/+1
metze (This used to be commit 0f5b0ec34984d27a33bed3a5c7c627e9a2d96ccc)
2007-10-10r5505: make usage of bitmap's :-)Stefan Metzmacher1-1/+8
metze (This used to be commit bc31e19f38319b098402d1f348bb5f5952fdcf40)