]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/tools/mimic.c
Update projects to use ldif2common.*
[openldap] / servers / slapd / tools / mimic.c
index d84e8e5bd5be30f1da6dc8a84b8e66c32a89e965..aa7d1dc41bc9a989332025a797330936c583510e 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
 /*
  * Mimic unused interfaces of slapd...
  * needed for linking.
@@ -23,25 +27,40 @@ int str2result(
     return 0;
 }
 
+void
+send_ldap_disconnect(
+    Connection *conn,
+    Operation  *op,
+    ber_int_t  err,
+    char       *text
+)
+{
+       assert(0);
+}
+
 void
 send_ldap_result(
        Connection  *conn, 
        Operation   *op,
        int     err,
        char    *matched,
-       char    *text
+       char    *text,
+       struct berval **refs,
+       LDAPControl **ctrls
 )        
 {
        assert(0);
 }
 
 void
-send_ldap_search_result(
+send_search_result(
        Connection  *conn, 
        Operation   *op,
        int     err,
        char    *matched,
        char    *text,
+       struct berval **refs,
+       LDAPControl **ctrls,
        int             nentries
 )        
 {
@@ -55,9 +74,40 @@ send_search_entry(
        Operation   *op,
        Entry   *e,
        char    **attrs,
-       int             attrsonly
+       int             attrsonly,
+       LDAPControl **ctrls
 )        
 {
        assert(0);
        return -1;
 }
+
+int send_search_reference(
+       Backend *be,
+       Connection  *conn, 
+       Operation   *op,
+       Entry   *e,
+       struct berval **refs,
+       int scope,
+       LDAPControl **ctrls,
+       struct berval ***v2refs
+)
+{
+       assert(0);
+       return -1;
+}
+
+struct berval **get_entry_referrals(
+       Backend *be, Connection *conn, Operation *op, Entry *e )
+{
+       assert(0);
+       return NULL;
+}
+
+int sasl_init(void) {
+       return 0;
+}
+
+int sasl_destroy(void) {
+       return 0;
+}