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

17 Commits

Author SHA1 Message Date
Jeremy Allison
4b7a60e95e r10802: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy.
2007-10-10 11:04:54 -05:00
Gerald Carter
cd961e50a3 r8654: merging cli_spoolss_XX() updates from trunk 2007-10-10 11:00:14 -05:00
Jeremy Allison
f82c273a42 Fix for #480. Change the interface for init_unistr2 to not take a length
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
This is not the case. Count it after conversion.
Jeremy.
-
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. -