summaryrefslogtreecommitdiff
path: root/source3/python/py_samr.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
committerTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
commit8f9a17be892f87ab576f1824a7b6fe37abd59887 (patch)
tree0d9c7b6a363f210a562f20c195c55afab32afc37 /source3/python/py_samr.h
parentfb8d1412e1e109a1af8acc759c128df8c82bd47d (diff)
downloadsamba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.gz
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.bz2
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.zip
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 (This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
Diffstat (limited to 'source3/python/py_samr.h')
-rw-r--r--source3/python/py_samr.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/python/py_samr.h b/source3/python/py_samr.h
index 22c3660ef9..3292eb97ec 100644
--- a/source3/python/py_samr.h
+++ b/source3/python/py_samr.h
@@ -21,10 +21,7 @@
#ifndef _PY_SAMR_H
#define _PY_SAMR_H
-#include "includes.h"
-#include "Python.h"
-
-#include "python/py_common_proto.h"
+#include "python/py_common.h"
/* SAMR connect policy handle object */
@@ -78,6 +75,7 @@ extern PyTypeObject samr_connect_hnd_type, samr_domain_hnd_type,
extern PyObject *samr_error;
-/* #include "python/py_samr_proto.h" */
+/* The following definitions are from py_samr_conv.c */
+BOOL py_from_acct_info(PyObject **array, struct acct_info *info, int num_accts);
#endif /* _PY_SAMR_H */