summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2009-01-09 23:10:17 +0000
committerNathan Kinder <nkinder@redhat.com>2009-01-09 23:10:17 +0000
commit7b6d01ea23b3c7968c3e1a6f45e76d39e6d123ca (patch)
treec89616ab155de471f411cc5e4692226c0d4747e2
parentd5c8d88338a3806bd38af793927ac30ec302585f (diff)
Resolves: 472602
Summary: Expose internal operation flag via SLAPI.
-rw-r--r--ldap/servers/slapd/slapi-plugin.h1
-rw-r--r--ldap/servers/slapd/slapi-private.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/ldap/servers/slapd/slapi-plugin.h b/ldap/servers/slapd/slapi-plugin.h
index 87d8cd6e..3c0cf72d 100644
--- a/ldap/servers/slapd/slapi-plugin.h
+++ b/ldap/servers/slapd/slapi-plugin.h
@@ -100,6 +100,7 @@ NSPR_API(PRUint32) PR_fprintf(struct PRFileDesc* fd, const char *fmt, ...)
#define SLAPI_ATTR_FLAG_NORMALIZED 0x0200 /* the attr value is normalized */
/* operation flags */
+#define SLAPI_OP_FLAG_INTERNAL 0x00020 /* An operation generated by the core server or a plugin. */
#define SLAPI_OP_FLAG_NEVER_CHAIN 0x00800 /* Do not chain the operation */
#define SLAPI_OP_FLAG_NO_ACCESS_CHECK 0x10000 /* Do not check for access control - bypass them */
diff --git a/ldap/servers/slapd/slapi-private.h b/ldap/servers/slapd/slapi-private.h
index 28255917..cbd7d32e 100644
--- a/ldap/servers/slapd/slapi-private.h
+++ b/ldap/servers/slapd/slapi-private.h
@@ -391,9 +391,7 @@ slapi_filter_to_string_internal( const struct slapi_filter *f, char *buf, size_t
* generated as a consequence
* of a Replicated Operation.
*/
-#define OP_FLAG_INTERNAL 0x00020 /* An operation generated by
- * the core server or a plugin.
- */
+#define OP_FLAG_INTERNAL SLAPI_OP_FLAG_INTERNAL /* 0x00020 */
#define OP_FLAG_ACTION_LOG_ACCESS 0x00040
#define OP_FLAG_ACTION_LOG_AUDIT 0x00080
#define OP_FLAG_ACTION_SCHEMA_CHECK 0x00100