1 /*-----------------------------------------------------------------------
2 $Id: ldap.h 5 2006-01-04 17:53:54Z hubert $
3 -----------------------------------------------------------------------*/
5 /* ========================================================================
6 * Copyright 2006-2008 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef _WEB_ALPINE_LDAP_INCLUDED
18 #define _WEB_ALPINE_LDAP_INCLUDED
23 #include "../../../pith/ldap.h"
25 typedef struct wpldapres
{
27 LDAP_SERV_RES_S
*reslist
;
28 struct wpldapres
*next
;
31 typedef struct wpldap
{
33 WPLDAPRES_S
*ldap_search_list
;
37 extern WPLDAP_S
*wpldap_global
;
40 char *peLdapPname(char *, char *);
41 int peLdapEntryParse(LDAP_SERV_RES_S
*, LDAPMessage
*,
42 struct berval
***, struct berval
***,
43 struct berval
***, struct berval
***,
44 struct berval
***, struct berval
***);
45 WPLDAPRES_S
*free_wpldapres(WPLDAPRES_S
*);
47 #endif /* ENABLE_LDAP */
49 #endif /* _WEB_ALPINE_LDAP_INCLUDED */