]> git.sur5r.net Git - openldap/blob - tests/progs/slapd-common.h
rework tester common error logging and so
[openldap] / tests / progs / slapd-common.h
1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 1999-2006 The OpenLDAP Foundation.
5  * All rights reserved.
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted only as authorized by the OpenLDAP
9  * Public License.
10  *
11  * A copy of this license is available in file LICENSE in the
12  * top-level directory of the distribution or, alternatively, at
13  * <http://www.OpenLDAP.org/license.html>.
14  */
15 /* ACKNOWLEDGEMENTS:
16  * This work was initially developed by Howard Chu for inclusion
17  * in OpenLDAP Software.
18  */
19
20 #ifndef SLAPD_COMMON_H
21 #define SLAPD_COMMON_H
22
23 extern void tester_init( const char *pname );
24 extern char * tester_uri( char *uri, char *host, int port );
25 extern void tester_perror( const char *fname );
26 extern void tester_ldap_error( LDAP *ld, const char *fname );
27
28 #endif /* SLAPD_COMMON_H */