1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-21 03:17:08 +03:00

14 Commits

Author SHA1 Message Date
Tim Potter
69bb58b92e Pass level keyword down to cli_spoolss_getform() -
Tim Potter
45562b8603 Fixed dodgy arguments to PyArg_ParseTupleAndKeywords() -
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
2f86f01b88 Return enumerated forms as a hash of hashes instead of a list of hashes. -
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
986d868837 Renamed functions that are methods of a printer handle object from
spoolss_* to spoolss_hnd_* to make things a bit clearer.
-
Tim Potter
5071fd8fe0 Removed unused arg to deleteform. -
Tim Potter
ecba275cf7 Fixed setform and addform functions. -
Tim Potter
ed0a6480f7 Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
-
Tim Potter
1e48f872a4 Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
-
Tim Potter
992cbfe98b Converted to #include *.c format. -
Tim Potter
2c935bc1ea #include "py_conv.h" -
Tim Potter
7c4bcc48aa Moved form related functions as methods in the policy handle object. -
Tim Potter
d35770d06f Initial version. -