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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user