19 lines
390 B
C
19 lines
390 B
C
#ifndef CERT_H
|
|
#define CERT_H
|
|
|
|
#include <openssl/ssl.h>
|
|
#include <pthread.h>
|
|
|
|
struct cert{};
|
|
typedef struct cert cert_t;
|
|
|
|
struct cert_mgr;
|
|
struct cert_mgr * cert_manager_init(const char * profile);
|
|
|
|
void cert_mgr_async_get(struct future * future, struct cert_mgr * mgr, int keyring_id,
|
|
X509 * origin_cert, struct event_base * evbase);
|
|
|
|
void cert_free(cert_t * cert);
|
|
|
|
#endif /* !CERT_H */
|