2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 * Copyright 1998-2003 The OpenLDAP Foundation.
5 * Portions Copyright 1998-2003 Kurt D. Zeilenga.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
12 * A copy of this license is available in file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
17 * This work was initially developed by Kurt Zeilenga for inclusion
18 * in OpenLDAP Software.
23 * Mimic unused interfaces of slapd...
34 /* needed by WIN32 and back-monitor */
37 /* because Versionstr is used in back-monitor */
38 const char Versionstr[] = "";
40 /* bogus ../results.c */
52 send_ldap_disconnect( Operation *op, SlapReply *rs )
58 slap_send_ldap_extended(
59 Operation *op, SlapReply *rs
66 slap_send_ldap_intermediate_resp(
67 Operation *op, SlapReply *rs
74 send_ldap_sasl( Operation *op, SlapReply *rs )
80 slap_send_ldap_result( Operation *op, SlapReply *rs )
86 slap_send_search_entry( Operation *op, SlapReply *rs )
93 slap_send_search_reference( Operation *op, SlapReply *rs )
99 int slap_read_controls(
103 const struct berval *oid,
110 int slap_sasl_init(void)
115 int slap_sasl_destroy(void)
120 int slap_sasl_setpass( Operation *op, SlapReply *rs )
125 int slap_sasl_config(
136 int connection_client_setup(
139 ldap_pvt_thread_start_t *func,
146 void connection_client_enable( ber_socket_t s )
151 void connection_client_stop( ber_socket_t s )
156 void connection2anonymous( Connection *c )
161 Connection * connection_first( ber_socket_t *b )
167 Connection * connection_next( Connection *c, ber_socket_t *b )
173 unsigned long connections_nextid(void)
178 void connection_done( Connection *c )
183 const char * connection_state2str( int state )
189 void replog( Operation *op )
194 int add_replica_info( Backend *be, const char *host )
199 int add_replica_suffix( Backend *be, int nr, const char *suffix )
204 int add_replica_attrs( Backend *be, int nr, char *attrs, int exclude )
209 int parse_limits( Backend *be, const char *fname, int lineno, int argc, char **argv )
214 int parse_limit( const char *arg, struct slap_limits_set *limit )
219 int get_limits( Backend *be, struct berval *ndn, struct slap_limits_set **limit )
224 int read_root_dse_file ( const char *file )
230 slap_operational_subschemaSubentry( Backend *be )
236 slap_operational_hasSubordinate( int hs )
242 slapd_get_listeners(void)
249 Operation *op, SlapReply *rs,
253 Modifications **pmod )
258 int slap_sasl_getdn( Connection *conn, Operation *op, char *id, int len,
259 char *user_realm, struct berval *dn, int flags )
264 int slap_sasl_authorized( Operation *op,
265 struct berval *authcDN, struct berval *authzDN )
270 int root_dse_info( Connection *conn, Entry **entry, const char **text )
275 int slap_entry2mods( Entry *e, Modifications **mods, const char **text )
280 volatile sig_atomic_t slapd_abrupt_shutdown;
282 int slap_mods_check( Modifications *ml, int update, const char **text,
283 char *textbuf, size_t textlen, void *ctx )
288 int slap_mods2entry( Modifications *mods, Entry **e, int repl_user,
289 int dup, const char **text, char *textbuf, size_t textlen )
294 int slap_mods_opattrs( Operation *op, Modifications *mods,
295 Modifications **modtail, const char **text,
296 char *textbuf, size_t textlen )