Debian Codegraph @

include/ldaputil/cert.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 _LDAPU_CERT_H
15 #define _LDAPU_CERT_H
16
17 #ifndef NSAPI_PUBLIC
18 #define NSAPI_PUBLIC
19 #endif
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 NSAPI_PUBLIC int ldapu_get_cert(void *SSLendpoint, void **cert);
26
27 #ifdef __cplusplus
28 }
29 #endif
30
31 #endif /* _LDAPU_CERT_H */