Debian Codegraph @

include/libaccess/authdb.h

raw
1 /** BEGIN COPYRIGHT BLOCK
2 * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
3 * Copyright (C) 2005 Red Hat, Inc.
4 * All rights reserved.
5 *
6 * License: GPL (version 3 or any later version).
7 * See LICENSE for details.
8 * END COPYRIGHT BLOCK **/
9
10 #ifdef HAVE_CONFIG_H
11 #include <config.h>
12 #endif
13
14 #ifndef AUTHDB_H
15 #define AUTHDB_H
16
17 #include <base/plist.h>
18 #include <libaccess/nserror.h>
19 #include <libaccess/las.h>
20
21 #define URL_PREFIX_LDAP "ldap"
22 #define URL_PREFIX_LDAP_LEN 4
23
24 typedef struct
25 {
26 char *dbname;
27 ACLDbType_t dbtype;
28 void *dbinfo;
29 } AuthdbInfo_t;
30
31 extern int acl_num_databases();
32
33 #endif /* AUTHDB_H */