* clear out some warnings by gcc 9.3.1.
[alpine.git] / web / src / alpined.d / ldap.h
blob6084c7c2396d1bdf3cf8367e80dfdb63a91c8fe6
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
21 #ifdef ENABLE_LDAP
23 #include "../../../pith/ldap.h"
25 typedef struct wpldapres {
26 char *str;
27 LDAP_SERV_RES_S *reslist;
28 struct wpldapres *next;
29 } WPLDAPRES_S;
31 typedef struct wpldap {
32 int query_no;
33 WPLDAPRES_S *ldap_search_list;
34 } WPLDAP_S;
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 */