summaryrefslogtreecommitdiffstats
path: root/source3/python
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* 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. (This used to be commit 39f58333fa84dc05cac8d13cabb1f203c5cf2c62)
* Remove unused variable.Tim Potter2002-05-081-3/+13
| | | | | #ifdef out code for new (uncommitted) version of make_sec_desc() (This used to be commit 07d11f5e0938c0e4f895391f6c8e2501069a0ef7)
* Added enumjobs command.Tim Potter2002-05-076-10/+199
| | | | (This used to be commit bc9dd9b45866d269f576a640286a578da921c3fb)
* rpcstr_pull() src_len fix.Tim Potter2002-05-071-1/+1
| | | | (This used to be commit 7da054d814d16deeea954e2559fdeb97dc323bbb)
* Allow lookup_sids() and lookup_names() to take either a list of strings orTim Potter2002-05-061-16/+50
| | | | | just a single string. (This used to be commit 775549b70e1d2770619c2fe1ed39418a8788dbfe)
* Removed unused arg to deleteform.Tim Potter2002-05-061-2/+1
| | | | (This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)
* Re-order args for enumprinterdrivers function.Tim Potter2002-05-032-9/+9
| | | | (This used to be commit 5f9f32021300d47dcc068192428ee48b8aa246ea)
* Some examples using the spoolss python module.Tim Potter2002-05-023-0/+141
| | | | (This used to be commit 68b952561429e1d08a974e633bb9c2870c819c69)
* Got setprinter level 3 working!Tim Potter2002-05-011-9/+23
| | | | | Replaced some DEBUG's with PyErr_SetString() calls. (This used to be commit 0f464fc79118161a97f45f428e4da1069a0be23d)
* make protoTim Potter2002-05-011-1/+2
| | | | (This used to be commit 99dee7b1018f9abc5374bcf877fea1a5cbde6cae)
* Implemented py_to_PRINTER_INFO_3() helper function.Tim Potter2002-05-011-3/+14
| | | | (This used to be commit d125f9f7dff357bf9eeffc430b5876080f3debeb)
* Implemented routines to convert from a Python dictionary to a SEC_DESCTim Potter2002-05-011-38/+38
| | | | | | | structure. Cleaned up debugging stuff. (This used to be commit f3f4f0d3978f90c589894234bbcc63728940a246)
* Return exception text if getprinter level not [0..3]Tim Potter2002-04-201-1/+8
| | | | (This used to be commit c02a7a71d6ddae711c84094e410d1117efc031f0)
* Started working on setprinter code.Tim Potter2002-04-186-59/+197
| | | | (This used to be commit 38d2b1794a0942ac4c2787f06bc5e546508c2515)
* make protoTim Potter2002-04-181-2/+2
| | | | (This used to be commit a721843197d39c0edc6c464214123be3300d0b91)
* Stubs for connect, domain, user, group and alias policy objects.Tim Potter2002-04-151-39/+202
| | | | | Wrote samr connect fn. (This used to be commit f2155aa3f4608b14777092002c39358b816dbea5)
* Skeleton for SAMR module.Tim Potter2002-04-153-0/+298
| | | | (This used to be commit 70bd1a0f94412236bf6603f16947336cb75c6415)
* Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()Tim Potter2002-04-142-3/+3
| | | | (This used to be commit 4bf6a9830acde47994975dffd578454ebb75e45a)
* Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter2002-04-141-3/+20
| | | | | | | | sure whether these should really be tuples or lists. In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe connect function returns an error. (This used to be commit 45cb1fed490d1fdafc5b63f2f5a33dfe5b334972)
* Call PyErr_SetString instead of fprintf to stderr.Tim Potter2002-04-141-7/+5
| | | | | | Don't clean up talloc and cli_state on close printer. They will be destroyed in the handle dealloc function. (This used to be commit 4114fe5996f84dfd14855ffdf666e065446607b4)
* Shutdown cli_state in the dealloc function. This happens automaticallyTim Potter2002-04-141-2/+10
| | | | | when a handle object falls out of scope. (This used to be commit 39546dd241b36d5e7b8e239525a13b91e4e9db80)
* Added enumerate trusted domains.Tim Potter2002-04-141-1/+44
| | | | (This used to be commit 3a11ce31ca3eed23f3bf82c46b2ebd2423be737d)
* New file to hold common prototypes.Tim Potter2002-04-141-0/+30
| | | | (This used to be commit d5862891979678c4defb3e33791edca1f1f8c3e4)