xref: /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sock/proto-sock.h (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1 /* $OpenLDAP: pkg/ldap/servers/slapd/back-sock/proto-sock.h,v 1.4.2.1 2008/02/09 00:46:09 quanah Exp $ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 2007-2008 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 
23 LDAP_BEGIN_DECL
24 
25 extern BI_init		sock_back_initialize;
26 
27 extern BI_open		sock_back_open;
28 extern BI_close		sock_back_close;
29 extern BI_destroy	sock_back_destroy;
30 
31 extern BI_db_init	sock_back_db_init;
32 extern BI_db_destroy	sock_back_db_destroy;
33 
34 extern BI_op_bind	sock_back_bind;
35 extern BI_op_unbind	sock_back_unbind;
36 extern BI_op_search	sock_back_search;
37 extern BI_op_compare	sock_back_compare;
38 extern BI_op_modify	sock_back_modify;
39 extern BI_op_modrdn	sock_back_modrdn;
40 extern BI_op_add	sock_back_add;
41 extern BI_op_delete	sock_back_delete;
42 
43 extern int sock_back_init_cf( BackendInfo *bi );
44 
45 LDAP_END_DECL
46 
47 #endif /* _PROTO_SOCK_H */
48