]> git.sur5r.net Git - openldap/blob - servers/slapd/tools/mimic.c
s/<stdlib.h>/<ac/stdlib.h>/
[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 #ifdef WIN32
12 time_t starttime;
13 #endif
14
15 /* bogus ../results.c */
16 int str2result(
17         char* s,
18         int *code, 
19         char **matched,
20         char **info )
21 {
22         assert(0);
23     return 0;
24 }
25
26 void
27 send_ldap_result(
28         Connection  *conn, 
29         Operation   *op,
30         int     err,
31         char    *matched,
32         char    *text
33 )        
34 {
35         assert(0);
36 }
37
38 void
39 send_ldap_search_result(
40         Connection  *conn, 
41         Operation   *op,
42         int     err,
43         char    *matched,
44         char    *text,
45         int             nentries
46 )        
47 {
48         assert(0);
49 }
50
51 int
52 send_search_entry(
53         Backend *be,
54         Connection  *conn, 
55         Operation   *op,
56         Entry   *e,
57         char    **attrs,
58         int             attrsonly
59 )        
60 {
61         assert(0);
62         return -1;
63 }