/* $OpenLDAP$ */
/*
- * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
/*
#include "../slap.h"
-#ifdef WIN32
+/* needed by WIN32 and back-monitor */
time_t starttime;
-#endif
/* because Versionstr is used in back-monitor */
const char Versionstr[] = "";
/* bogus ../results.c */
int str2result(
char* s,
- int *code,
+ int *code,
char **matched,
char **info )
{
}
void
-send_ldap_disconnect(
- Connection *conn,
- Operation *op,
- ber_int_t err,
- const char *text
-)
+send_ldap_disconnect( Operation *op, SlapReply *rs )
{
assert(0);
}
void
-send_ldap_extended(
- Connection *conn,
- Operation *op,
- ber_int_t err,
- const char *matched,
- const char *text,
- BVarray refs,
- const char *rspoid,
- struct berval *rspdata,
- LDAPControl **ctrls
+slap_send_ldap_extended(
+ Operation *op, SlapReply *rs
)
{
assert(0);
}
void
-send_ldap_sasl(
- Connection *conn,
- Operation *op,
- ber_int_t err,
- const char *matched,
- const char *text,
- BVarray refs,
- LDAPControl **ctrls,
- struct berval *cred
+slap_send_ldap_intermediate_resp(
+ Operation *op, SlapReply *rs
)
{
assert(0);
}
void
-send_ldap_result(
- Connection *conn,
- Operation *op,
- ber_int_t err,
- const char *matched,
- const char *text,
- BVarray refs,
- LDAPControl **ctrls
-)
+send_ldap_sasl( Operation *op, SlapReply *rs )
{
assert(0);
}
void
-send_search_result(
- Connection *conn,
- Operation *op,
- ber_int_t err,
- const char *matched,
- const char *text,
- BVarray refs,
- LDAPControl **ctrls,
- int nentries
-)
+slap_send_ldap_result( Operation *op, SlapReply *rs )
{
assert(0);
}
int
-send_search_entry(
- Backend *be,
- Connection *conn,
- Operation *op,
- Entry *e,
- AttributeName *attrs,
- int attrsonly,
- LDAPControl **ctrls
-)
+slap_send_search_entry( Operation *op, SlapReply *rs )
{
assert(0);
return -1;
}
-int send_search_reference(
- Backend *be,
- Connection *conn,
- Operation *op,
- Entry *e,
- BVarray refs,
- LDAPControl **ctrls,
- BVarray *v2refs
-)
+int
+slap_send_search_reference( Operation *op, SlapReply *rs )
{
assert(0);
return -1;
return LDAP_SUCCESS;
}
-char * slap_sasl_secprops( const char *in )
+int slap_sasl_setpass( Operation *op, SlapReply *rs )
{
- return NULL;
+ return LDAP_SUCCESS;
}
-
-int slap_sasl_regexp_config( const char *match, const char *replace )
+int slap_sasl_config(
+ int cargc,
+ char **cargv,
+ char *line,
+ const char *fname,
+ int lineno )
{
- return(0);
+ return LDAP_SUCCESS;
}
return NULL;
}
-void replog( Backend *be, Operation *op,
- struct berval *dn, struct berval *ndn, void *change)
+void replog( Operation *op )
{
assert(0);
}
-void slap_mods_free( Modifications *ml )
+int add_replica_info( Backend *be, const char *host )
{
- assert(0);
+ return 0;
}
-int add_replica_info( Backend *be, const char *host )
+int add_replica_suffix( Backend *be, int nr, const char *suffix )
{
return 0;
}
-int add_replica_suffix( Backend *be, int nr, const char *suffix )
+int add_replica_attrs( Backend *be, int nr, char *attrs, int exclude )
{
return 0;
}
}
Attribute *
-slap_operational_subschemaSubentry( void )
+slap_operational_subschemaSubentry( Backend *be )
{
return NULL;
}
return NULL;
}
+Listener **
+slapd_get_listeners(void)
+{
+ return NULL;
+}
+
+int
+slap_modrdn2mods(
+ Operation *op, SlapReply *rs,
+ Entry *e,
+ LDAPRDN oldrdn,
+ LDAPRDN newrdn,
+ Modifications **pmod )
+{
+ return 0;
+}
+
+int
+slap_mods2entry(
+ Modifications *mods,
+ Entry **e,
+ int repl_user,
+ const char **text,
+ char *textbuf, size_t textlen )
+{
+ return 0;
+}
+
+int slap_sasl_getdn( Connection *conn, Operation *op, char *id, int len,
+ char *user_realm, struct berval *dn, int flags )
+{
+ return -1;
+}
+
+int slap_sasl_authorized( Connection *conn,
+ struct berval *authcDN, struct berval *authzDN )
+{
+ return -1;
+}
+
+int slap_mods_check( Modifications *ml, int update, const char **text,
+ char *textbuf, size_t textlen, void *ctx )
+{
+ return -1;
+}
+
+int slap_mods_opattrs( Operation *op, Modifications *mods,
+ Modifications **modtail, const char **text,
+ char *textbuf, size_t textlen )
+{
+ return -1;
+}
+
+int root_dse_info( Connection *conn, Entry **entry, const char **text )
+{
+ return -1;
+}
+
+#ifdef LDAP_SYNCREPL
+void init_syncrepl( )
+{
+ return -1;
+}
+
+void* do_syncrepl( void *ctx, void *arg )
+{
+ return -1;
+}
+#endif