1/* $OpenLDAP$ */
2/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3 *
4 * Copyright 2007-2011 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 the 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 Brian Candler for inclusion
17 * in OpenLDAP Software.
18 */
19
20#ifndef _PROTO_SOCK_H
21#define _PROTO_SOCK_H
22
23LDAP_BEGIN_DECL
24
25extern BI_init		sock_back_initialize;
26
27extern BI_open		sock_back_open;
28extern BI_close		sock_back_close;
29extern BI_destroy	sock_back_destroy;
30
31extern BI_db_init	sock_back_db_init;
32extern BI_db_destroy	sock_back_db_destroy;
33
34extern BI_op_bind	sock_back_bind;
35extern BI_op_unbind	sock_back_unbind;
36extern BI_op_search	sock_back_search;
37extern BI_op_compare	sock_back_compare;
38extern BI_op_modify	sock_back_modify;
39extern BI_op_modrdn	sock_back_modrdn;
40extern BI_op_add	sock_back_add;
41extern BI_op_delete	sock_back_delete;
42
43extern int sock_back_init_cf( BackendInfo *bi );
44
45LDAP_END_DECL
46
47#endif /* _PROTO_SOCK_H */
48