diff options
Diffstat (limited to 'src/pxythrmgr.h')
| -rw-r--r-- | src/pxythrmgr.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/pxythrmgr.h b/src/pxythrmgr.h index 88f142d..782ead2 100644 --- a/src/pxythrmgr.h +++ b/src/pxythrmgr.h @@ -38,15 +38,16 @@ #include <event2/event.h> #include <event2/dns.h> -typedef struct pxy_thrmgr_ctx pxy_thrmgr_ctx_t; +struct tfe_thread_manager_ctx; -pxy_thrmgr_ctx_t * pxy_thrmgr_new(tfe_config *) MALLOC; -int pxy_thrmgr_run(pxy_thrmgr_ctx_t *) NONNULL(1) WUNRES; -void pxy_thrmgr_free(pxy_thrmgr_ctx_t *) NONNULL(1); +tfe_thread_manager_ctx * tfe_thread_manager_new(tfe_config *) MALLOC; +int tfe_thread_manager_run(tfe_thread_manager_ctx *) NONNULL(1) WUNRES; +void tfe_thread_manager_free(tfe_thread_manager_ctx *) NONNULL(1); -int pxy_thrmgr_attach(pxy_thrmgr_ctx_t *, struct event_base **, +int tfe_thread_manager_attach(tfe_thread_manager_ctx *, struct event_base **, struct evdns_base **) WUNRES; -void pxy_thrmgr_detach(pxy_thrmgr_ctx_t *, int); + +void tfe_thread_manager_detach(tfe_thread_manager_ctx *, int); #endif /* !PXYTHRMGR_H */ |
