ldap_connect.h

00001 /*
00002  * $Id$
00003  *
00004  * Kamailio LDAP Module
00005  *
00006  * Copyright (C) 2007 University of North Carolina
00007  *
00008  * Original author: Christian Schlatter, cs@unc.edu
00009  *
00010  *
00011  * This file is part of Kamailio, a free SIP server.
00012  *
00013  * Kamailio is free software; you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation; either version 2 of the License, or
00016  * (at your option) any later version
00017  *
00018  * Kamailio is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with this program; if not, write to the Free Software
00025  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00026  *
00027  * History:
00028  * --------
00029  * 2007-02-18: Initial version
00030  */
00031 
00032 
00033 #ifndef LDAP_CONNECT_H
00034 #define LDAP_CONNECT_H
00035 
00036 #include "../../str.h"
00037 #include "../../dprint.h"
00038 
00039 extern int ldap_connect(char* _ld_name);
00040 extern int ldap_disconnect(char* _ld_name);
00041 extern int ldap_reconnect(char* _ld_name);
00042 extern int ldap_get_vendor_version(char** _version);
00043 
00044 #endif /* LDAP_CONNECT_H */
00045