proto-sock.h revision 1.1.1.2
1/* $NetBSD: proto-sock.h,v 1.1.1.2 2010/03/08 02:14:20 lukem Exp $ */ 2 3/* OpenLDAP: pkg/ldap/servers/slapd/back-sock/proto-sock.h,v 1.4.2.2 2009/01/22 00:01:10 kurt Exp */ 4/* This work is part of OpenLDAP Software <http://www.openldap.org/>. 5 * 6 * Copyright 2007-2009 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 25LDAP_BEGIN_DECL 26 27extern BI_init sock_back_initialize; 28 29extern BI_open sock_back_open; 30extern BI_close sock_back_close; 31extern BI_destroy sock_back_destroy; 32 33extern BI_db_init sock_back_db_init; 34extern BI_db_destroy sock_back_db_destroy; 35 36extern BI_op_bind sock_back_bind; 37extern BI_op_unbind sock_back_unbind; 38extern BI_op_search sock_back_search; 39extern BI_op_compare sock_back_compare; 40extern BI_op_modify sock_back_modify; 41extern BI_op_modrdn sock_back_modrdn; 42extern BI_op_add sock_back_add; 43extern BI_op_delete sock_back_delete; 44 45extern int sock_back_init_cf( BackendInfo *bi ); 46 47LDAP_END_DECL 48 49#endif /* _PROTO_SOCK_H */ 50