]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slap.h
Add LDAPsubentry (without OID).
[openldap] / servers / slapd / slap.h
index be69eb46e7183e139280abd4c659613dd5900647..56e732d5e452606182c646c4cd1e64628fc7bb12 100644 (file)
@@ -1,4 +1,8 @@
 /* slap.h - stand alone ldap server include file */
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 
 #ifndef _SLDAPD_H_
 #define _SLDAPD_H_
 #include <ac/socket.h>
 #include <ac/time.h>
 
+#ifdef HAVE_CYRUS_SASL
+#include <sasl.h>
+#endif
+
 #include "avl.h"
 
 #ifndef ldap_debug
 
 #include "ldap_log.h"
 
-#include "lber.h"
-#include "ldap.h"
-
-#include "ldap_schema.h"
+#include <ldap.h>
+#include <ldap_schema.h>
 
 #include "ldap_pvt_thread.h"
 #include "ldif.h"
@@ -95,6 +101,12 @@ extern int slap_debug;
 struct slap_op;
 struct slap_conn;
 
+struct replog_moddn {
+       char *newrdn;
+       int     deloldrdn;
+       char *newsup;
+};
+
 /*
  * represents an attribute value assertion (i.e., attr=value)
  */
@@ -608,6 +620,10 @@ typedef struct slap_conn {
        char            *c_peer_name;   /* peer name (trans=addr:port) */
        char            *c_sock_name;   /* sock name (trans=addr:port) */
 
+#ifdef HAVE_CYRUS_SASL
+       sasl_conn_t     *c_sasl_context;
+#endif
+
        /* only can be changed by binding thread */
        int             c_bind_in_progress;     /* multi-op bind in progress */