openldap/tests/modules/mod-harness/mod-harness.h

38 lines
868 B
C
Raw Permalink Normal View History

2019-07-16 13:18:38 -04:00
/* mod-harness.h - mod harness header file */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
2024-03-26 15:45:07 -04:00
* Copyright 2019-2024 The OpenLDAP Foundation.
2019-07-16 13:18:38 -04:00
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
*
* A copy of this license is available in the file LICENSE in the
* top-level directory of the distribution or, alternatively, at
* <http://www.OpenLDAP.org/license.html>.
*/
#ifndef SLAPD_HARNESS_H
#define SLAPD_HARNESS_H
LDAP_BEGIN_DECL
struct harness_conf_info {
char *h_host;
in_port_t h_port;
char *h_identifier;
Connection *h_conn;
};
ldap_pvt_thread_start_t harness_callback;
int harness_back_init_cf( BackendInfo *bi );
LDAP_END_DECL
#endif /* SLAPD_HARNESS_H */