Renamed policy handle field in object containers to avoid cut&paste bugs.
authorTim Potter <tpot@samba.org>
Thu, 20 Jun 2002 00:56:27 +0000 (00:56 +0000)
committerTim Potter <tpot@samba.org>
Thu, 20 Jun 2002 00:56:27 +0000 (00:56 +0000)
source/python/py_samr.h

index 326bab5c14df7cf86b11910ef2e7fddaf619a719..22c3660ef9894f75f92c241b53038cd748cb203c 100644 (file)
@@ -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 */