]> git.sur5r.net Git - openldap/blob - servers/slapd/tools/mimic.c
Round 2 of connection management changes.
[openldap] / servers / slapd / tools / mimic.c
1 /*
2  * Mimic unused interfaces of slapd...
3  * needed for linking.
4  */
5 #include "portable.h"
6
7 #include <stdio.h>
8
9 #include "../slap.h"
10
11 /* bogus ../results.c */
12 int str2result(
13         char* s,
14         int *code, 
15         char **matched,
16         char **info )
17 {
18         assert(0);
19 }
20
21 void
22 send_ldap_result(
23         Connection  *conn, 
24         Operation   *op,
25         int     err,
26         char    *matched,
27         char    *text
28 )        
29 {
30         assert(0);
31 }
32
33 void
34 send_ldap_search_result(
35         Connection  *conn, 
36         Operation   *op,
37         int     err,
38         char    *matched,
39         char    *text,
40         int             nentries
41 )        
42 {
43         assert(0);
44 }
45
46 int
47 send_search_entry(
48         Backend *be,
49         Connection  *conn, 
50         Operation   *op,
51         Entry   *e,
52         char    **attrs,
53         int             attrsonly
54 )        
55 {
56         assert(0);
57         return -1;
58 }