summaryrefslogtreecommitdiff
path: root/source3/python/py_samr.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-20 00:56:27 +0000
committerTim Potter <tpot@samba.org>2002-06-20 00:56:27 +0000
commit6905730c3eede966f574c35794e559ab93235245 (patch)
treeccdde9fd06bf293c1585ee168cda33908e5c65ff /source3/python/py_samr.h
parentb21b66c5444d5cddd5c11b184ba2a86a31c9a994 (diff)
downloadsamba-6905730c3eede966f574c35794e559ab93235245.tar.gz
samba-6905730c3eede966f574c35794e559ab93235245.tar.bz2
samba-6905730c3eede966f574c35794e559ab93235245.zip
Renamed policy handle field in object containers to avoid cut&paste bugs.
(This used to be commit 93309c0ad4cd66680f94d7a46028b4d392d1cc06)
Diffstat (limited to 'source3/python/py_samr.h')
-rw-r--r--source3/python/py_samr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/python/py_samr.h b/source3/python/py_samr.h
index 326bab5c14..22c3660ef9 100644
--- a/source3/python/py_samr.h
+++ b/source3/python/py_samr.h
@@ -32,7 +32,7 @@ typedef struct {
PyObject_HEAD
struct cli_state *cli;
TALLOC_CTX *mem_ctx;
- POLICY_HND pol;
+ POLICY_HND connect_pol;
} samr_connect_hnd_object;
/* SAMR domain policy handle object */
@@ -41,7 +41,7 @@ typedef struct {
PyObject_HEAD
struct cli_state *cli;
TALLOC_CTX *mem_ctx;
- POLICY_HND pol;
+ POLICY_HND domain_pol;
} samr_domain_hnd_object;
/* SAMR user policy handle object */
@@ -50,7 +50,7 @@ typedef struct {
PyObject_HEAD
struct cli_state *cli;
TALLOC_CTX *mem_ctx;
- POLICY_HND pol;
+ POLICY_HND user_pol;
} samr_user_hnd_object;
/* SAMR group policy handle object */
@@ -59,7 +59,7 @@ typedef struct {
PyObject_HEAD
struct cli_state *cli;
TALLOC_CTX *mem_ctx;
- POLICY_HND pol;
+ POLICY_HND group_pol;
} samr_group_hnd_object;
/* SAMR alias policy handle object */
@@ -68,7 +68,7 @@ typedef struct {
PyObject_HEAD
struct cli_state *cli;
TALLOC_CTX *mem_ctx;
- POLICY_HND pol;
+ POLICY_HND alias_pol;
} samr_alias_hnd_object;
extern PyTypeObject samr_connect_hnd_type, samr_domain_hnd_type,
@@ -78,6 +78,6 @@ extern PyTypeObject samr_connect_hnd_type, samr_domain_hnd_type,
extern PyObject *samr_error;
-// #include "python/py_samr_proto.h"
+/* #include "python/py_samr_proto.h" */
#endif /* _PY_SAMR_H */