]> git.sur5r.net Git - openldap/commitdiff
*** empty log message ***
authorKurt Zeilenga <kurt@openldap.org>
Thu, 21 Jan 1999 01:12:35 +0000 (01:12 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 21 Jan 1999 01:12:35 +0000 (01:12 +0000)
servers/slapd/slap.h

index 721c214dabf44c3e1d72aaff65ba8dc71109a88b..45dc21212245f5892b3664e66abcebfa720c7014 100644 (file)
@@ -157,24 +157,24 @@ typedef struct entry {
 
 /* the "by" part */
 struct access {
+#define ACL_NONE       0x01
+#define ACL_COMPARE    0x02
+#define ACL_SEARCH     0x04
+#define ACL_READ       0x08
+#define ACL_WRITE      0x10
+#define ACL_SELF       0x40
+       int                     a_access;
+
        char            *a_dnpat;
        char            *a_addrpat;
        char            *a_domainpat;
        char            *a_dnattr;
-       long            a_access;
 
 #ifdef SLAPD_ACLGROUPS
         char           *a_group;
         char           *a_objectclassvalue;
         char           *a_groupattrname;
 #endif
-
-#define ACL_NONE       0x01
-#define ACL_COMPARE    0x02
-#define ACL_SEARCH     0x04
-#define ACL_READ       0x08
-#define ACL_WRITE      0x10
-#define ACL_SELF       0x40
        struct access   *a_next;
 };