1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

17 Commits

Author SHA1 Message Date
Jeremy Allison
5b32737374 r10802: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy.
(This used to be commit 4b7a60e95e8f972df05d162769f0c441a4442e56)
2007-10-10 11:04:54 -05:00
Gerald Carter
ecafd3754f r8654: merging cli_spoolss_XX() updates from trunk
(This used to be commit cd961e50a3029898868d21263ccacb7d5f1f07b9)
2007-10-10 11:00:14 -05:00
Jeremy Allison
d3b9384308 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.
(This used to be commit f82c273a42f930c7152cfab84394781744815e0e)
2003-09-25 21:26:16 +00:00
Tim Potter
b32f4ccf5b Pass level keyword down to cli_spoolss_getform()
(This used to be commit 69bb58b92e92113b3ce2c72a3bfa46ed3056c261)
2002-09-09 04:42:01 +00:00
Tim Potter
b403e16e09 Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
2002-05-27 06:28:18 +00:00
Tim Potter
281ded3f7f 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
(This used to be commit c9c2aac9035a11e3fe2d320504097b98a426dd63)
2002-05-17 02:32:02 +00:00
Tim Potter
535af3c3fe Return enumerated forms as a hash of hashes instead of a list of hashes.
(This used to be commit 2f86f01b88ccaaeee97588f339ebaeae5c4c06e9)
2002-05-16 07:32:55 +00:00
Tim Potter
286d3a80fd 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
(This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
2002-05-16 04:00:31 +00:00
Tim Potter
5951e762d5 Renamed functions that are methods of a printer handle object from
spoolss_* to spoolss_hnd_* to make things a bit clearer.
(This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
2002-05-15 06:22:53 +00:00
Tim Potter
0a01e23e2b Removed unused arg to deleteform.
(This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)
2002-05-06 04:52:45 +00:00
Tim Potter
07a65b3f07 Fixed setform and addform functions.
(This used to be commit ecba275cf75be3152c917329ba16d77bf4490259)
2002-04-09 04:23:52 +00:00
Tim Potter
f9b571811d Converted drivers, forms and ports functions to use new conversion routines
and exception throwing.
(This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)
2002-04-05 05:48:01 +00:00
Tim Potter
230e36ccde Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution.
(This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
2002-03-28 04:14:43 +00:00
Tim Potter
2624a47cb4 Converted to #include *.c format.
(This used to be commit 992cbfe98b4131f0aef96da3ddeee00d3d4a1fb1)
2002-03-27 05:36:13 +00:00
Tim Potter
64172f5863 #include "py_conv.h"
(This used to be commit 2c935bc1eab20fd72f0bd4577c0e2140d6fcc3d3)
2002-03-26 11:09:35 +00:00
Tim Potter
7cf6b169a3 Moved form related functions as methods in the policy handle object.
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)
2002-03-26 06:25:47 +00:00
Tim Potter
d07cc9d8a1 Initial version.
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
2002-03-20 03:29:03 +00:00