Tim Potter
ac15442579
Remove level and name fields from dictionary copy in py_to_FORM()
-
Tim Potter
274679d8ce
py_to_DRIVER_INFO_3: remove level key on copy of dictionary before calling
...
to_struct().
-
Tim Potter
841b6cf63c
Decode info level 3 for getprinterdriver.
...
Error checking for undecoded info levels.
-
Tim Potter
96ccb2beb1
When converting from a dictionary to a Samba structure, check for any
...
additional keys that may have been added and return False if so.
-
Tim Potter
0caf7610dc
Set level key in driver info structures.
-
Tim Potter
d4c7a85c2b
Use get_level_value() utility fn.
...
Cleaned up some local variable naming.
-
Tim Potter
608b9ab29d
Add level field when converting FORM_1 to dict.
...
More error checking when converting from dict to FORM_1.
-
Tim Potter
c9c2aac903
addform(), setform():
...
- call get_level_value() utility function
- removed unused keyword args
- clean up handling of name arg to cli call
deleteform():
- removed unused keyword args
-
Tim Potter
2566dad274
Call get_level_value() utility function.
-
Tim Potter
4cafbcb205
Added a utility function to extract the info key from a dictionary.
-
Tim Potter
b26d9d7939
to_struct() now returns a boolean which is false if not all the elements of
...
the structure were present in the dictionary.
-
Tim Potter
2f86f01b88
Return enumerated forms as a hash of hashes instead of a list of hashes.
-
Tim Potter
8d2f77ce95
Removed unused variable.
-
Tim Potter
f8c198b748
Renamed 'printer_name' field in python printer info to 'name' to be
...
more consistent.
-
Tim Potter
1d0fd34d42
Fix memory leaks and return values in error returns for enumprinters().
...
Return enumerated printers as a hash of hashes instead of a list of hashes.
-
Tim Potter
c469ada3d3
Fix memory leaks and return values in error returns for enumports().
...
Return enumerated ports as a hash of hashes instead of a list of hashes.
-
Tim Potter
b1818eb375
Set exception object when enumjobs returns non-zero NT status.
-
Tim Potter
cb4bfd39eb
Fix return value for enumprinterdrivers(), getprinterdriverdir().
...
Set info level key in getprinterdriverdir() return info.
-
Tim Potter
179c68bd0d
Shorten some debug messages.
-
Tim Potter
d35cad359d
More cleanups.
...
- removed dodgy fprintf() error handling
- return an error string from open_pipe_creds() so the appropriate
exception can be raised by the caller
- reformatting
-
Tim Potter
36ed06cb50
Refactored open_pipe_creds() function to remove unused parameter.
-
Tim Potter
e4cc7e2d52
Added addjob command.
-
Tim Potter
a8fcb151f8
Cleaned up help docstrings.
-
Tim Potter
986d868837
Renamed functions that are methods of a printer handle object from
...
spoolss_* to spoolss_hnd_* to make things a bit clearer.
-
Tim Potter
4fe9f83998
make proto
-
Tim Potter
1ad82cd0c3
Method entry for addprinterex()
-
Tim Potter
b56bf8f43e
Fixed a memory leak in enumprinters.
...
Started addprinterex() - doesn't work yet.
-
Tim Potter
c07d583327
Comment that deleteprinterdataex isn't supported by a samba server.
-
Tim Potter
e3c27d7d10
Return a dictionary of printer drivers in enumprinterdrivers() instead of a
...
list.
Started addprinterdriver() - doesn't work yet.
Added stubs for deleteprinterdriver routines.
-
Tim Potter
ced14ea913
Implement py_to_DRIVER_INFO_3()
-
Tim Potter
a8f5951bec
Added lots of new functions to the method tables.
-
Tim Potter
0c52191cc5
make proto
-
Tim Potter
14acdbf06d
Added deleteprinterdata function.
...
Stub for deleteprinterdataex.
-
Tim Potter
ca315ef84f
Fixed bug in enumprinterdrivers.
...
Added stubs for addprinterdriver and deleteprinterdriver functions.
-
Tim Potter
f7fadfdd73
Moved PyDict_SetItemString for printer info level structures into conv functions.
-
Tim Potter
307788d0b8
Added writeprinter command.
-
Tim Potter
7a15ce7c0c
Added enumprinterdata.
-
Tim Potter
18aeadc591
General cleanup of compiler warnings etc.
-
Tim Potter
34a0293a04
Added entry for winreg extension.
...
Added extra source file for printerdata routines.
-
Tim Potter
0851f473b7
Updated patch.
-
Tim Potter
2811ac99a1
Removed irritating CR at end of file.
-
Tim Potter
325361e9e6
Added getprinterdata and setprinterdata functions.
-
Tim Potter
f2b9447bbd
Registry module. Only contains REG_xxx constants used by the spoolss
...
printerdata routines at the moment.
-
Tim Potter
954107a9d3
Added startdocprinter and enddocprinter.
-
Tim Potter
3da89aa8e4
Added commands for startpageprinter, endpageprinter, setjob and getjob.
-
Tim Potter
02c63de9e5
Added setjob() command.
-
Tim Potter
39f58333fa
Changed some error returns to return a werror tuple (status code and text
...
message) instead of just the status code.
-
Tim Potter
07d11f5e09
Remove unused variable.
...
#ifdef out code for new (uncommitted) version of make_sec_desc()
-
Tim Potter
bc9dd9b458
Added enumjobs command.
-
Tim Potter
7da054d814
rpcstr_pull() src_len fix.
-