summaryrefslogtreecommitdiffstats
path: root/source/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Added a utility function to extract the info key from a dictionary.Tim Potter2002-05-172-0/+18
|
* to_struct() now returns a boolean which is false if not all the elements ofTim Potter2002-05-172-2/+7
| | | | the structure were present in the dictionary.
* Return enumerated forms as a hash of hashes instead of a list of hashes.Tim Potter2002-05-161-8/+19
|
* Removed unused variable.Tim Potter2002-05-161-2/+0
|
* Renamed 'printer_name' field in python printer info to 'name' to beTim Potter2002-05-161-3/+3
| | | | more consistent.
* Fix memory leaks and return values in error returns for enumprinters().Tim Potter2002-05-161-29/+48
| | | | Return enumerated printers as a hash of hashes instead of a list of hashes.
* Fix memory leaks and return values in error returns for enumports().Tim Potter2002-05-161-16/+40
| | | | Return enumerated ports as a hash of hashes instead of a list of hashes.
* Set exception object when enumjobs returns non-zero NT status.Tim Potter2002-05-161-1/+3
|
* Fix return value for enumprinterdrivers(), getprinterdriverdir().Tim Potter2002-05-161-16/+18
| | | | Set info level key in getprinterdriverdir() return info.
* Shorten some debug messages.Tim Potter2002-05-162-2/+2
|
* More cleanups.Tim Potter2002-05-1611-109/+137
| | | | | | | | | - removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting
* Refactored open_pipe_creds() function to remove unused parameter.Tim Potter2002-05-168-46/+38
|
* Added addjob command.Tim Potter2002-05-163-2/+13
|
* Cleaned up help docstrings.Tim Potter2002-05-161-54/+67
|
* Renamed functions that are methods of a printer handle object fromTim Potter2002-05-157-64/+64
| | | | spoolss_* to spoolss_hnd_* to make things a bit clearer.
* make protoTim Potter2002-05-151-0/+1
|
* Method entry for addprinterex()Tim Potter2002-05-151-0/+3
|
* Fixed a memory leak in enumprinters.Tim Potter2002-05-151-4/+57
| | | | Started addprinterex() - doesn't work yet.
* Comment that deleteprinterdataex isn't supported by a samba server.Tim Potter2002-05-151-0/+4
|
* Return a dictionary of printer drivers in enumprinterdrivers() instead of aTim Potter2002-05-151-8/+138
| | | | | | | | list. Started addprinterdriver() - doesn't work yet. Added stubs for deleteprinterdriver routines.
* Implement py_to_DRIVER_INFO_3()Tim Potter2002-05-151-1/+5
|
* Added lots of new functions to the method tables.Tim Potter2002-05-141-0/+22
|
* make protoTim Potter2002-05-141-0/+10
|
* Added deleteprinterdata function.Tim Potter2002-05-141-0/+30
| | | | Stub for deleteprinterdataex.
* Fixed bug in enumprinterdrivers.Tim Potter2002-05-141-3/+27
| | | | Added stubs for addprinterdriver and deleteprinterdriver functions.
* Moved PyDict_SetItemString for printer info level structures into conv ↵Tim Potter2002-05-142-2/+6
| | | | functions.
* Added writeprinter command.Tim Potter2002-05-143-0/+36
|
* Added enumprinterdata.Tim Potter2002-05-141-1/+41
|
* General cleanup of compiler warnings etc.Tim Potter2002-05-147-58/+139
|
* Added entry for winreg extension.Tim Potter2002-05-131-1/+11
| | | | Added extra source file for printerdata routines.
* Updated patch.Tim Potter2002-05-131-13/+14
|
* Removed irritating CR at end of file.Tim Potter2002-05-131-1/+0
|
* Added getprinterdata and setprinterdata functions.Tim Potter2002-05-133-0/+180
|
* Registry module. Only contains REG_xxx constants used by the spoolssTim Potter2002-05-131-0/+83
| | | | printerdata routines at the moment.
* Added startdocprinter and enddocprinter.Tim Potter2002-05-134-0/+168
|
* Added commands for startpageprinter, endpageprinter, setjob and getjob.Tim Potter2002-05-083-2/+115
|
* Added setjob() command.Tim Potter2002-05-083-0/+42
|
* Changed some error returns to return a werror tuple (status code and textTim Potter2002-05-081-4/+2
| | | | message) instead of just the status code.
* Remove unused variable.Tim Potter2002-05-081-3/+13
| | | | #ifdef out code for new (uncommitted) version of make_sec_desc()
* Added enumjobs command.Tim Potter2002-05-076-10/+199
|
* rpcstr_pull() src_len fix.Tim Potter2002-05-071-1/+1
|
* Allow lookup_sids() and lookup_names() to take either a list of strings orTim Potter2002-05-061-16/+50
| | | | just a single string.
* Removed unused arg to deleteform.Tim Potter2002-05-061-2/+1
|
* Re-order args for enumprinterdrivers function.Tim Potter2002-05-032-9/+9
|
* Some examples using the spoolss python module.Tim Potter2002-05-023-0/+141
|
* Got setprinter level 3 working!Tim Potter2002-05-011-9/+23
| | | | Replaced some DEBUG's with PyErr_SetString() calls.
* make protoTim Potter2002-05-011-1/+2
|
* Implemented py_to_PRINTER_INFO_3() helper function.Tim Potter2002-05-011-3/+14
|
* Implemented routines to convert from a Python dictionary to a SEC_DESCTim Potter2002-05-011-38/+38
| | | | | | structure. Cleaned up debugging stuff.
* Return exception text if getprinter level not [0..3]Tim Potter2002-04-201-1/+8
|