Home | History | Annotate | Line # | Download | only in progs
slapd-common.h revision 1.1.1.1.8.2
      1  1.1.1.1.8.2  lukem /* $OpenLDAP: pkg/ldap/tests/progs/slapd-common.h,v 1.2.2.5 2008/02/11 23:26:50 kurt Exp $ */
      2  1.1.1.1.8.2  lukem /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
      3  1.1.1.1.8.2  lukem  *
      4  1.1.1.1.8.2  lukem  * Copyright 1999-2008 The OpenLDAP Foundation.
      5  1.1.1.1.8.2  lukem  * All rights reserved.
      6  1.1.1.1.8.2  lukem  *
      7  1.1.1.1.8.2  lukem  * Redistribution and use in source and binary forms, with or without
      8  1.1.1.1.8.2  lukem  * modification, are permitted only as authorized by the OpenLDAP
      9  1.1.1.1.8.2  lukem  * Public License.
     10  1.1.1.1.8.2  lukem  *
     11  1.1.1.1.8.2  lukem  * A copy of this license is available in file LICENSE in the
     12  1.1.1.1.8.2  lukem  * top-level directory of the distribution or, alternatively, at
     13  1.1.1.1.8.2  lukem  * <http://www.OpenLDAP.org/license.html>.
     14  1.1.1.1.8.2  lukem  */
     15  1.1.1.1.8.2  lukem /* ACKNOWLEDGEMENTS:
     16  1.1.1.1.8.2  lukem  * This work was initially developed by Howard Chu for inclusion
     17  1.1.1.1.8.2  lukem  * in OpenLDAP Software.
     18  1.1.1.1.8.2  lukem  */
     19  1.1.1.1.8.2  lukem 
     20  1.1.1.1.8.2  lukem #ifndef SLAPD_COMMON_H
     21  1.1.1.1.8.2  lukem #define SLAPD_COMMON_H
     22  1.1.1.1.8.2  lukem 
     23  1.1.1.1.8.2  lukem typedef enum {
     24  1.1.1.1.8.2  lukem 	TESTER_TESTER,
     25  1.1.1.1.8.2  lukem 	TESTER_ADDEL,
     26  1.1.1.1.8.2  lukem 	TESTER_BIND,
     27  1.1.1.1.8.2  lukem 	TESTER_MODIFY,
     28  1.1.1.1.8.2  lukem 	TESTER_MODRDN,
     29  1.1.1.1.8.2  lukem 	TESTER_READ,
     30  1.1.1.1.8.2  lukem 	TESTER_SEARCH,
     31  1.1.1.1.8.2  lukem 	TESTER_LAST
     32  1.1.1.1.8.2  lukem } tester_t;
     33  1.1.1.1.8.2  lukem 
     34  1.1.1.1.8.2  lukem extern void tester_init( const char *pname, tester_t ptype );
     35  1.1.1.1.8.2  lukem extern char * tester_uri( char *uri, char *host, int port );
     36  1.1.1.1.8.2  lukem extern void tester_error( const char *msg );
     37  1.1.1.1.8.2  lukem extern void tester_perror( const char *fname, const char *msg );
     38  1.1.1.1.8.2  lukem extern void tester_ldap_error( LDAP *ld, const char *fname, const char *msg );
     39  1.1.1.1.8.2  lukem extern int tester_ignore_str2errlist( const char *err );
     40  1.1.1.1.8.2  lukem extern unsigned tester_ignore_err( int err );
     41  1.1.1.1.8.2  lukem 
     42  1.1.1.1.8.2  lukem extern pid_t		pid;
     43  1.1.1.1.8.2  lukem 
     44  1.1.1.1.8.2  lukem #endif /* SLAPD_COMMON_H */
     45