21 lines
823 B
C
21 lines
823 B
C
#pragma once
|
|
#include <fieldstat/fieldstat_easy.h>
|
|
#include <event2/event.h>
|
|
|
|
struct tfe_proxy;
|
|
unsigned int tfe_proxy_get_work_thread_count();
|
|
struct event_base * tfe_proxy_get_work_thread_evbase(unsigned int thread_id);
|
|
struct evdns_base* tfe_proxy_get_work_thread_dnsbase(unsigned int thread_id);
|
|
struct evhttp_connection* tfe_proxy_get_work_thread_evhttp(unsigned int thread_id);
|
|
|
|
struct event_base * tfe_proxy_get_gc_evbase(void);
|
|
struct fieldstat_easy *tfe_proxy_get_fs_handle(void);
|
|
void * tfe_proxy_get_error_logger(void);
|
|
|
|
int tfe_proxy_ssl_add_trust_ca(const char* pem_file);
|
|
int tfe_proxy_ssl_del_trust_ca(const char* pem_file);
|
|
int tfe_proxy_ssl_add_crl(const char* pem_file);
|
|
int tfe_proxy_ssl_del_crl(const char* pem_file);
|
|
void tfe_proxy_ssl_reset_trust_ca();
|
|
void tfe_proxy_ssl_reset_trust_ca_finish(void);
|