Volker Lendecke
bce98d8c03
Convert np_read to tevent_req
2009-03-17 17:31:22 +01:00
Volker Lendecke
89543d6c78
Convert np_write to tevent_req
2009-03-17 17:31:22 +01:00
Günther Deschner
e89e739e22
s3-spoolss: remove unused init_unistr_array().
...
Guenther
2009-03-17 12:21:31 +01:00
Günther Deschner
4a58f263b9
s3-spoolss: remove unused get_printer_dataex().
...
Guenther
2009-03-17 12:21:23 +01:00
Günther Deschner
63d78712bc
s3-spoolss: use pidl for _spoolss_EnumPrinterKey.
...
Guenther
2009-03-17 12:18:57 +01:00
Günther Deschner
56691dfe4b
s3-spoolss: cleanup _spoolss_SetPrinterDataEx a little.
...
Guenther
2009-03-17 12:14:35 +01:00
Günther Deschner
d189824240
s3-spoolss: cleanup _spoolss_GetPrinterDataEx a little.
...
Guenther
2009-03-17 12:14:28 +01:00
Günther Deschner
80ecd11050
s3-spoolss: use pidl for _spoolss_EnumPrinterData.
...
Guenther
2009-03-17 12:07:58 +01:00
Günther Deschner
f9871a846d
s3-spoolss: use pidl for _spoolss_SetPrinterData.
...
Guenther
2009-03-17 11:57:26 +01:00
Günther Deschner
aeba6381d3
s3-spoolss: use pidl for _spoolss_GetPrinterData.
...
Guenther
2009-03-17 11:49:30 +01:00
Günther Deschner
6df9e1f7aa
s3-spoolss: add push_spoolss_PrinterData().
...
Guenther
2009-03-17 10:53:43 +01:00
Günther Deschner
9a8f19672d
s3-spoolss: add pull_spoolss_PrinterData().
...
Guenther
2009-03-17 10:53:24 +01:00
Günther Deschner
0068abe716
s3-spoolss: remove some unused functions.
...
Guenther
2009-03-13 09:25:26 +01:00
Günther Deschner
1ceb298ed6
s3-spoolss: use pidl for _spoolss_GetPrinter.
...
Guenther
2009-03-13 09:25:25 +01:00
Günther Deschner
7e753b28ea
s3-spoolss: use snum_is_shared_printer (allows to make code a little easier to
...
read).
Guenther
2009-03-13 09:25:24 +01:00
Günther Deschner
0174d4d3b2
s3-spoolss: add snum_is_shared_printer fn.
...
Guenther
2009-03-13 09:25:24 +01:00
Günther Deschner
f6f703f16e
s3-spoolss: use pidl for _spoolss_EnumPrinters.
...
Guenther
2009-03-13 09:25:24 +01:00
Günther Deschner
1b3e068e83
s3-spoolss: remove old spoolss_GetPrinterDriver2.
...
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
8df8abb890
s3-spoolss: use pidl for _spoolss_GetPrinterDriver2.
...
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
d6e2ef51ec
s3-spoolss: use pidl for _spoolss_EnumPrinterDrivers.
...
Guenther
2009-03-13 09:25:23 +01:00
Günther Deschner
e605e4503c
s3-spoolss: remove old spoolss_GetJob and spoolss_EnumJob.
...
Guenther
2009-03-13 09:25:22 +01:00
Günther Deschner
9b143e6de5
s3-spoolss: use pidl for _spoolss_GetJob.
...
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
b80e3e5724
s3-spoolss: use pidl for _spoolss_EnumJobs.
...
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
661e81d48c
s3-spoolss: add construct_dev_mode_new.
...
Guenther
2009-03-13 09:25:21 +01:00
Günther Deschner
427987d2bf
s3-spoolss: use macros for _spoolss_GetForm and split out level 1 get.
...
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
635b8070b6
s3-spoolss: use macros for _spoolss_EnumForms and split out level 1 enum.
...
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
b2b3cfbe31
s3-spoolss: use macros for _spoolss_GetPrintProcessorDirectory.
...
Guenther
2009-03-13 09:25:20 +01:00
Günther Deschner
75d88f460f
s3-spoolss: use macros for _spoolss_GetPrinterDriverDirectory.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
dfe71b05a7
s3-spoolss: use macros for _spoolss_EnumMonitors.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
8d6c719a4b
s3-spoolss: use macros for _spoolss_EnumPrintProcDataTypes.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
c6e9dc11e5
s3-spoolss: use macros for _spoolss_EnumPorts.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
facf66b40c
s3-spoolss: use macros for _spoolss_EnumPrintProcessors.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
84b38c8598
s3-spoolss: add macros from s4 spoolss server.
...
Guenther
2009-03-13 09:25:19 +01:00
Günther Deschner
4b57f6dd34
s3-spoolss: make jobname a const char * in print_job_start().
...
Guenther
2009-03-12 14:47:31 +01:00
Volker Lendecke
fe486d7b9f
Add "queue" to writev_send
...
Unless higher levels queue themselves somehow, writev will *always* be queued.
So the queueing should be done at the right level.
2009-03-08 11:20:59 +01:00
Volker Lendecke
46bcb10b5a
Shape up pdb_search a bit by making it a talloc ctx with a destructor
2009-03-07 17:51:21 +01:00
Günther Deschner
2561b2d2e2
s3-spoolss: use pidl for _spoolss_EnumMonitors.
...
Guenther
2009-03-07 00:55:38 +01:00
Günther Deschner
03f1bec6ce
s3-spoolss: use pidl for _spoolss_EnumPorts.
...
Guenther
2009-03-07 00:55:36 +01:00
Günther Deschner
3cf22a8856
s3-spoolss: use pidl for _spoolss_EnumPrintProcDataTypes.
...
Guenther
2009-03-07 00:49:51 +01:00
Günther Deschner
f48ccec957
s3-spoolss: use pidl for _spoolss_EnumPrintProcessors.
...
Guenther
2009-03-07 00:42:58 +01:00
Günther Deschner
5ce523bbed
s3-spoolss: Fix Coverity ID #891 (UNINIT).
...
Guenther
2009-03-06 14:58:49 +01:00
Günther Deschner
8614ce5ca7
s3-spoolss: remove old _spoolss_EnumForms.
...
Guenther
2009-03-06 14:32:46 +01:00
Günther Deschner
f9bf09e255
s3-spoolss: use pidl for _spoolss_EnumForms.
...
Guenther
2009-03-06 14:32:15 +01:00
Jeremy Allison
67d12e9c6b
Get the sense of the integer wrap test the right way around. Sorry.
...
Jeremy.
2009-03-05 22:00:22 -08:00
Jeremy Allison
4e74d811aa
Now we're allowing a lower bound for auth_len, ensure we
...
also check for an upper one (integer wrap).
Jeremy.
2009-03-05 21:06:48 -08:00
Volker Lendecke
2544ba6a0a
Complete the fix for bug 6100
...
According to [MS-RPCE].pdf, section 2.2.2.11:
----
A client or a server that (during composing of a PDU) has allocated more space
for the authentication token than the security provider fills in SHOULD fill in
the rest of the allocated space with zero octets. These zero octets are still
considered to belong to the authentication token part of the PDU.<36>
----
RPC implementations are allowed to send padding bytes at the end of an auth
footer. Windows 7 makes use of this.
Thanks to Nick Meier <nmeier@microsoft.com>
Volker
2009-03-05 22:28:07 +01:00
Simo Sorce
67d41d0fc7
Make struct tevent_req opaque
...
Move struct tevent_req in tevent_internal, and ad getters and setters
for private data and the callback function.
This patch also renames 'private_state' into 'data'. What is held in this
pointer is in fact data and not a state like enum tevent_req_state.
Calling it 'state' is confusing.
The functions addedd are:
tevent_req_set_callback() - sets req->async.fn and req->async.private_data
tevent_req_set_print_fn() - sets req->private_print
tevent_req_callback_data() - gets req->async.private_data
tevent_req_data() - gets rea->data
This way it is much simpler to keep API/ABI compatibility in the future.
2009-03-02 11:02:09 -05:00
Tim Prouty
9b0df441e1
s3: Fix incompatible type warnings
2009-03-01 16:40:17 -08:00
Günther Deschner
670a22852c
s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.
...
Guenther
2009-02-27 13:33:15 +01:00
Günther Deschner
44ceff4d01
s3-spoolss: fix search_notify(). sorry...
...
Guenther
2009-02-26 13:19:24 +01:00