1 /*	$NetBSD: proto-sock.h,v 1.1.1.3 2010/12/12 15:23:22 adam Exp $	*/
2 
3 /* OpenLDAP: pkg/ldap/servers/slapd/back-sock/proto-sock.h,v 1.4.2.3 2010/04/13 20:23:41 kurt Exp */
4 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5  *
6  * Copyright 2007-2010 The OpenLDAP Foundation.
7  * All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted only as authorized by the OpenLDAP
11  * Public License.
12  *
13  * A copy of this license is available in the file LICENSE in the
14  * top-level directory of the distribution or, alternatively, at
15  * <http://www.OpenLDAP.org/license.html>.
16  */
17 /* ACKNOWLEDGEMENTS:
18  * This work was initially developed by Brian Candler for inclusion
19  * in OpenLDAP Software.
20  */
21 
22 #ifndef _PROTO_SOCK_H
23 #define _PROTO_SOCK_H
24 
25 LDAP_BEGIN_DECL
26 
27 extern BI_init		sock_back_initialize;
28 
29 extern BI_open		sock_back_open;
30 extern BI_close		sock_back_close;
31 extern BI_destroy	sock_back_destroy;
32 
33 extern BI_db_init	sock_back_db_init;
34 extern BI_db_destroy	sock_back_db_destroy;
35 
36 extern BI_op_bind	sock_back_bind;
37 extern BI_op_unbind	sock_back_unbind;
38 extern BI_op_search	sock_back_search;
39 extern BI_op_compare	sock_back_compare;
40 extern BI_op_modify	sock_back_modify;
41 extern BI_op_modrdn	sock_back_modrdn;
42 extern BI_op_add	sock_back_add;
43 extern BI_op_delete	sock_back_delete;
44 
45 extern int sock_back_init_cf( BackendInfo *bi );
46 
47 LDAP_END_DECL
48 
49 #endif /* _PROTO_SOCK_H */
50