1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00

Moved conv functions to separate file.

Converted remaining functions to methods.
This commit is contained in:
Tim Potter
-
parent 2c935bc1ea
commit 1e894487f5
2 changed files with 99 additions and 211 deletions

View File

@ -26,14 +26,6 @@
#undef offsetof
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
enum pyconv_types { PY_UNISTR, PY_UINT32, PY_UINT16 };
struct pyconv {
char *name; /* Name of member */
enum pyconv_types type; /* Type */
size_t offset; /* Offset into structure */
};
typedef struct {
PyObject_HEAD
struct cli_state *cli;