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

10 Commits

Author SHA1 Message Date
Tim Potter
0659351b25 Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
 - move #include of Python.h into one place so we can get rid of that
   annoying compiler warning about HAVE_FSTAT being redefined
-
Tim Potter
191c1596f5 Fixed silly bug. -
Tim Potter
9e871cc256 Fixed some compiler warnings. -
Tim Potter
acecee6f2b Moved function to parse a list of unicode strings into util file.
It's now used in parsing printer driver structures and the response
from the enumprinterkey rpc.
-
Tim Potter
a938863914 Added char *, uid_t and gid_t types to generic conversion routines. -
Tim Potter
793f1042f1 Check types of dictionary elements in to_struct() -
Tim Potter
96ccb2beb1 When converting from a dictionary to a Samba structure, check for any
additional keys that may have been added and return False if so.
-
Tim Potter
b26d9d7939 to_struct() now returns a boolean which is false if not all the elements of
the structure were present in the dictionary.
-
Tim Potter
7da054d814 rpcstr_pull() src_len fix. -
Tim Potter
6c8a2ad167 Samba structure <-> Python dictionary helper functions. -