summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_spoolss_buf.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-3/+3
emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
2007-10-10r8522: fixed another couple of size_t warningsAndrew Tridgell1-1/+1
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell1-4/+4
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-0/+6
- 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-10r7865: changed pidl to take a "const void *" instead of a "void *" for theAndrew Tridgell1-12/+10
structure in ndr_push_*() and ndr_print_*(). The push and print functions really should not modify the structure. metze, to make this work I had to change your spoolss hand marshaller. Can you please check it is OK? I think that the IN and OUT sides of that function are not ever called on the same structure, so I think that attempt at remembering the value by assigning to r->in._offered was not doing anything anyway, but please correct me if I have misunderstood it. If you really do need to remember something on those structures I'd suggest the ndr_token_store() and ndr_token_retrieve() functions, which are used by pidl for just this sort of thing. (This used to be commit eee528be97fa43ca53bdc5652b4d29a0a2caf563)
2007-10-10r7575: - fix GetPrinterData() push sideStefan Metzmacher1-12/+81
- 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-35/+39
- 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-10r7462: fix Enum* pushing, we need to send back a buffer of the same size as ↵Stefan Metzmacher1-0/+9
we got in the recv code..., this makes the w2k3 printserver properties gui happy:-) metze (This used to be commit 0130b0d90223bb7278f924e1b1370778f25d0d91)
2007-10-10r7364: - remove '\' chars from copy pasteStefan Metzmacher1-3/+5
- fix allocates [out,ref] pointers to be passed between functions metze (This used to be commit 9a1760c618b10ee08b4e6ad21eb0c7e757ae9dea)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher1-0/+91
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7327: pass down the ndr->flags to the subcontextsStefan Metzmacher1-0/+4
metze (This used to be commit c0462d60b58471b0804450d31a11e603519b45e4)
2007-10-10r7196: fix typo, that makes the spoolss test working with [validate]Stefan Metzmacher1-2/+2
([validate,bigendian] is still failing badly...) metze (This used to be commit da319b7bc366bb40d9d290efe17436c8fd5a0911)
2007-10-10r7194: fix pulling of the NDR_IN data, [validate] works for the NDR_IN side ↵Stefan Metzmacher1-1/+2
now... metze (This used to be commit d2eb1a68447ff71adfc56c60d26753e12596a1a6)
2007-10-10r7181: add functions to calculate the buffer size needed for array buffer in ↵Stefan Metzmacher1-0/+54
the spoolss_Enum* functions they will be later used in the spoolss server code metze (This used to be commit 539fe32cedb73be0520675a1052cba476e4974d2)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-865/+164
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-10r6191: fix spoolss_Enum* push codeStefan Metzmacher1-3/+9
metze (This used to be commit e66aa87f148d04f4c44b08555345600b8a6278d4)
2007-10-10r6181: Use ndr_print_set_switch_value() here as well.Jelmer Vernooij1-1/+2
(This used to be commit 4da9d1d5c277eb65d0fe5bf5c4690531dcfb85de)
2007-10-10r6179: - add new spoolss tests for all spoolss_Enum*() calls which didn't needStefan Metzmacher1-0/+274
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-10r6099: use the enum print functionStefan Metzmacher1-1/+1
metze (This used to be commit ff32e2182e3f11b1b51110c9d3f34bc8781dec0b)
2007-10-10r5672: Use switch_type() and the token storage mechanism for unions:Jelmer Vernooij1-2/+4
- Makes union handling less special - Allows unions in arrays, etc - Compatible with midl - Pidl will warn about switch_type() and the type of the switch_is() variable being different (This used to be commit dc6b4ffc82a191631bc16a4b93a4916a39183ec6)
2007-10-10r5663: Revert some changes I didn't mean to commit...Jelmer Vernooij1-4/+2
(This used to be commit 54e0be6f1eccbd870eb0e60ae8cdb90d2dc7f657)
2007-10-10r5661: Be a little stricter on syntax regarding arrays. A pointer to anJelmer Vernooij1-2/+4
array can now only be : type *name[]; rather then : type *name; which was supported in the past. Warnings will be given when the first syntax is used. Reasons for this change in behaviour include improved readability and the fact that the second format makes dealing with multiple levels of pointers harder. (This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
2007-10-10r5504: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 2bb29cc68ae795bbb4baa12501103ae9555f1898)
2007-10-10r5489: hide handwritten pull/push/print code from the callerStefan Metzmacher1-70/+660
for the spoolss_Enum* functions metze (This used to be commit bfcc86e706cf32672323eda939e5def6694509a8)
2007-10-10r5446: fix pulling of arrays in EnumXXX functionsStefan Metzmacher1-0/+6
metze (This used to be commit 0aea8522d7ddaf1ce4cc708c13888e44d14cda32)
2007-10-10r3428: switched to using minimal includes for the auto-generated RPC code.Andrew Tridgell1-0/+1
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation. (This used to be commit b8f5fa8ac8e8725f3d321004f0aedf4246fc6b49)
2007-10-10r2209: patch from volker to add EnumPorts spoolss IDL and test codeAndrew Tridgell1-0/+21
the ndr->offset=0; stuff is ugly. We need a better way to handle this. (This used to be commit e909bfa708aeceeaa37faa6f6dff0274f8ac7920)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-4/+4
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2003-11-30Added EnumPrinterDriver, GetPrinterDriver (still in progress)Tim Potter1-0/+17
(This used to be commit a818439b5915fd70b8aa3d3045f658b3f59a6bea)
2003-11-28Added EnumJobs, GetJob, SetJob RPCs.Tim Potter1-0/+17
(This used to be commit a06cbbbf1fa1e873bb13bc86d14694b2af791e22)
2003-11-26Implemented EnumForms and GetForm.Tim Potter1-0/+17
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell1-2/+2
alignment correctly for unions that have non-uint16 discriminants fixed the union handling in srvsvc.idl. (metze, please take a look at the changes, your IDL did match what was one the wire in most cases, but isn't the way IDL is usually coded) (This used to be commit 7b5d0287298e8505e0ec7b22d75d9f9a8a610031)
2003-11-17call OpenPrinterEx on each printer on the server, and then callAndrew Tridgell1-3/+3
GetPrinter with all info levels on each printer (This used to be commit 136b3cfc0460315e924c3d9c8328c1850fc21fba)
2003-11-17nicer method of handling spoolss EnumPrintersAndrew Tridgell1-27/+12
this also handles the return of several printers (an array of relative subcontexts) (This used to be commit 060421c7dc9aa611fe4160843a4f76498ab16bf4)
2003-11-16use nstring and [relative] to support levels 1 and 2 of EnumPrintersAndrew Tridgell1-0/+6
fully (This used to be commit 69c6017c945bdd7d1945f22fcad49112ba6a2d2d)
2003-11-16added support for level1 of EnumPrinters in spoolss. This uses aAndrew Tridgell1-0/+51
number of "magic" add-ons to IDL to make it less painful, hopefully this will make IDL generation useful for horrible systems like spoolss (This used to be commit e18dba7d5a957ef82e8f91733a0bf95d579dcd7a)