summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
* Another change to the GPL "abandon hope all who enter here" warning.Tim Potter2002-05-231-4/+4
| | | | (This used to be commit 1d75b548de8b667673cf136306388546eb3bd98d)
* Got gdb and gpl confused. (-:Tim Potter2002-05-221-3/+3
| | | | (This used to be commit 08356ec38a5be239b6ab53ee75f3735c29b677a7)
* Added a reminder about programs using the tdb bindings having to beTim Potter2002-05-221-0/+8
| | | | | licensed under the GPL. (This used to be commit aa3ec7618fe39ddc75755098433572b271197af4)
* A tdb module based on some tips from Mike Noriega. This version supportsTim Potter2002-05-213-0/+644
| | | | | locking and tdb traversal using python callbacks. (This used to be commit f3530fd6180bb78a58a3f41ac1389c9f0ba7b183)
* Remove level and name fields from dictionary copy in py_to_FORM()Tim Potter2002-05-201-4/+9
| | | | (This used to be commit ac15442579848f145dbdce6d51207321c4150c25)
* py_to_DRIVER_INFO_3: remove level key on copy of dictionary before callingTim Potter2002-05-201-2/+7
| | | | | to_struct(). (This used to be commit 274679d8ce33aaf664ffaaa6834d506f7b196fc6)
* Decode info level 3 for getprinterdriver.Tim Potter2002-05-201-1/+5
| | | | | Error checking for undecoded info levels. (This used to be commit 841b6cf63c1f22dcb8fa07796a44e20555fe5b59)
* When converting from a dictionary to a Samba structure, check for anyTim Potter2002-05-201-2/+30
| | | | | additional keys that may have been added and return False if so. (This used to be commit 96ccb2beb1d45f8122ff03fc2f7727bf065adbf6)
* Set level key in driver info structures.Tim Potter2002-05-201-1/+5
| | | | (This used to be commit 0caf7610dcf698d2c649e42f0630de4337cfcea2)
* Use get_level_value() utility fn.Tim Potter2002-05-172-46/+18
| | | | | Cleaned up some local variable naming. (This used to be commit d4c7a85c2b5c45f1cc3273230d80a1d5923cd848)
* Add level field when converting FORM_1 to dict.Tim Potter2002-05-171-1/+17
| | | | | More error checking when converting from dict to FORM_1. (This used to be commit 608b9ab29dca820d29a40a2c5df86c1ff7e751a9)
* addform(), setform():Tim Potter2002-05-171-26/+44
| | | | | | | | | | | - call get_level_value() utility function - removed unused keyword args - clean up handling of name arg to cli call deleteform(): - removed unused keyword args (This used to be commit c9c2aac9035a11e3fe2d320504097b98a426dd63)
* Call get_level_value() utility function.Tim Potter2002-05-171-21/+8
| | | | (This used to be commit 2566dad274e0bced9e55cbc3c126c00e70373fbe)
* Added a utility function to extract the info key from a dictionary.Tim Potter2002-05-172-0/+18
| | | | (This used to be commit 4cafbcb205af11c478a2d9047554315915933e5d)
* 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. (This used to be commit b26d9d793914b66050c374ec2c0e94fa37c7e0e4)
* Return enumerated forms as a hash of hashes instead of a list of hashes.Tim Potter2002-05-161-8/+19
| | | | (This used to be commit 2f86f01b88ccaaeee97588f339ebaeae5c4c06e9)
* Removed unused variable.Tim Potter2002-05-161-2/+0
| | | | (This used to be commit 8d2f77ce956711f2afbadbeee50d82fbec9047dc)
* Renamed 'printer_name' field in python printer info to 'name' to beTim Potter2002-05-161-3/+3
| | | | | more consistent. (This used to be commit f8c198b74899d1be1725d0647c5f0cd7db870340)
* 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. (This used to be commit 1d0fd34d42e286fe7a41ca2d122f6bd7dc958b0a)
* 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. (This used to be commit c469ada3d3b12b6a6e243d004faaae5f96cd3d96)
* Set exception object when enumjobs returns non-zero NT status.Tim Potter2002-05-161-1/+3
| | | | (This used to be commit b1818eb37572f4d30efef998d926ac111e78cb48)
* Fix return value for enumprinterdrivers(), getprinterdriverdir().Tim Potter2002-05-161-16/+18
| | | | | Set info level key in getprinterdriverdir() return info. (This used to be commit cb4bfd39eb83efddb29b3a3bc70c2a8713f80ef2)
* Shorten some debug messages.Tim Potter2002-05-162-2/+2
| | | | (This used to be commit 179c68bd0db7c2631fcf052a746acacedf3c47ac)
* 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 (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
* Refactored open_pipe_creds() function to remove unused parameter.Tim Potter2002-05-168-46/+38
| | | | (This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
* Added addjob command.Tim Potter2002-05-163-2/+13
| | | | (This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca)
* Cleaned up help docstrings.Tim Potter2002-05-161-54/+67
| | | | (This used to be commit a8fcb151f8ff601774c302b61e694b4522461068)
* 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. (This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
* make protoTim Potter2002-05-151-0/+1
| | | | (This used to be commit 4fe9f83998a3b669b2190b0c71908fe2d9f915fd)
* Method entry for addprinterex()Tim Potter2002-05-151-0/+3
| | | | (This used to be commit 1ad82cd0c3f76a629b8fc2e1b02e57b8e97829dd)
* Fixed a memory leak in enumprinters.Tim Potter2002-05-151-4/+57
| | | | | Started addprinterex() - doesn't work yet. (This used to be commit b56bf8f43efbb356ecacf13b96cee7f07386d83d)
* Comment that deleteprinterdataex isn't supported by a samba server.Tim Potter2002-05-151-0/+4
| | | | (This used to be commit c07d583327fa194547d1bd41fdb12b25f24e88f7)
* 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. (This used to be commit e3c27d7d1093743124cad573e781547a9a2f659f)
* Implement py_to_DRIVER_INFO_3()Tim Potter2002-05-151-1/+5
| | | | (This used to be commit ced14ea913b55c87a8dd177080e711cfc16935c3)
* Added lots of new functions to the method tables.Tim Potter2002-05-141-0/+22
| | | | (This used to be commit a8f5951becaab82bb1b03e3e04a05901ec3aa8e3)
* make protoTim Potter2002-05-141-0/+10
| | | | (This used to be commit 0c52191cc5b986fbb50a476442e808d5e161e534)
* Added deleteprinterdata function.Tim Potter2002-05-141-0/+30
| | | | | Stub for deleteprinterdataex. (This used to be commit 14acdbf06dec517a4f2fee5904cae1c0b72a90aa)
* Fixed bug in enumprinterdrivers.Tim Potter2002-05-141-3/+27
| | | | | Added stubs for addprinterdriver and deleteprinterdriver functions. (This used to be commit ca315ef84ff949edfbf0a8df0ae2128a97fc3ac5)
* Moved PyDict_SetItemString for printer info level structures into conv ↵Tim Potter2002-05-142-2/+6
| | | | | | functions. (This used to be commit f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc)
* Added writeprinter command.Tim Potter2002-05-143-0/+36
| | | | (This used to be commit 307788d0b823f228c718b2a186fc66144fd55717)
* Added enumprinterdata.Tim Potter2002-05-141-1/+41
| | | | (This used to be commit 7a15ce7c0c6a6b3a62dd6607fefc32742fa50308)
* General cleanup of compiler warnings etc.Tim Potter2002-05-147-58/+139
| | | | (This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
* Added entry for winreg extension.Tim Potter2002-05-131-1/+11
| | | | | Added extra source file for printerdata routines. (This used to be commit 34a0293a04cecf20c05a2d09d1ecda64538ca529)
* Updated patch.Tim Potter2002-05-131-13/+14
| | | | (This used to be commit 0851f473b7705a3d95dc2727cd7986295d2733ff)
* Removed irritating CR at end of file.Tim Potter2002-05-131-1/+0
| | | | (This used to be commit 2811ac99a1fcc2be02f89a418fe00c99c2bba81c)
* Added getprinterdata and setprinterdata functions.Tim Potter2002-05-133-0/+180
| | | | (This used to be commit 325361e9e6e2b2f852cc8607ad93108b80bcef06)
* Registry module. Only contains REG_xxx constants used by the spoolssTim Potter2002-05-131-0/+83
| | | | | printerdata routines at the moment. (This used to be commit f2b9447bbdfe025b24a73d1c44885bcadb3f826f)
* Added startdocprinter and enddocprinter.Tim Potter2002-05-134-0/+168
| | | | (This used to be commit 954107a9d314c8d87f65f741804ca3f9ca94432e)
* Added commands for startpageprinter, endpageprinter, setjob and getjob.Tim Potter2002-05-083-2/+115
| | | | (This used to be commit 3da89aa8e45d08444bfcddb145264bfcd6f6d768)
* Added setjob() command.Tim Potter2002-05-083-0/+42
| | | | (This used to be commit 02c63de9e58f9806e58d3862391e05e9b9cdb8fc)