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

Moved conv functions to separate file.

Converted remaining functions to methods.
(This used to be commit 1e894487f5)
This commit is contained in:
Tim Potter
2002-03-26 11:12:16 +00:00
parent 64172f5863
commit 7e686ace08
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;