1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Tim Potter
86c62b92e8 r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a char
to a string when we really want an integer.
2007-10-10 13:11:26 -05:00
Tim Potter
a3e7d71463 r6211: Use cli_credentials_set_{domain,username,password}() to fill in
command line arguments for credentials typemap.  Neat!
2007-10-10 13:11:26 -05:00
Tim Potter
1c88e71ec6 r6210: Call cli_credentials_set_conf() when initialising credentials in
cli_credentials typemap.
2007-10-10 13:11:26 -05:00
Tim Potter
b09a472353 r6208: Add cli_credentials support for swig wrappers. For the moment it
only does anonymous connections.
2007-10-10 13:11:26 -05:00
Tim Potter
076ec6008e r5350: Implement an input typemap for NTSTATUS. 2007-10-10 13:09:44 -05:00
Tim Potter
6dba5d6fb4 r5242: Check that argument is an integer or a long for uint32_t input
typemap.

The uint32_t output typemap must return a Python long as an unsigned
uint32_t cannot be fully represented by a Python int.

Likewise for the NTSTATUS typemap.
2007-10-10 13:09:33 -05:00
Tim Potter
f2a1b237bc r5094: Use builtin swig types for converting between fixed width integer types. 2007-10-10 13:09:22 -05:00
Tim Potter
dc845154ca r5017: Fix bug in output typemap for uint32 (!) 2007-10-10 13:09:14 -05:00
Tim Potter
922ea35a4b r3459: Fix cut&paste error in copyright header. 2007-10-10 13:05:16 -05:00
Tim Potter
b19dc6cd9c r3010: Do some more PyInt vs PyLong checks. 2007-10-10 12:59:57 -05:00
Tim Potter
7c5ada63bf r3007: uint32 values need to be stored in Python longs, as on 32-bit machines
Python ints can only hold int32 values.
2007-10-10 12:59:56 -05:00
Tim Potter
e6756e3ee0 r2986: Add correct value to dict when generating wrapper for functions that
return WERROR values.

Clean up WERROR vs NTSTATUS handling a bit.
2007-10-10 12:59:54 -05:00
Tim Potter
6f3f6de058 r2765: Allow functions containing WERROR values to be compiled.
Add winreg.i to list of extensions.
2007-10-10 12:59:31 -05:00
Tim Potter
f5852bf3e2 r2228: Finally commit bits of old workareas together to get dcerpc python
bindings happening.  This commit lets python call dcerpc_pipe_connect()
and open the samr pipe.
2007-10-10 12:58:33 -05:00
Stefan Metzmacher
f3b1d3bdc7 r888: more ..int32 -> ..int32_t stuff
metze
2007-10-10 12:56:16 -05:00
Tim Potter
bbc15d6f84 r383: Scripting extensions using swig. This commit includes only a (LGPL)
python interface to tdb and a rudimentary build system.

Configure with --with-python and make swig to build and append
$(builddir)/scripting/swig/python to PYTHONPATH.
2007-10-10 12:51:36 -05:00