19 typedef void (*tor_procmon_callback_t)(
void *);
24 const char *process_spec,
26 tor_procmon_callback_t
cb,
30 #define tor_process_monitor_free(procmon) \
31 FREE_AND_NULL(tor_process_monitor_t, tor_process_monitor_free_, (procmon))
Header for compat_libevent.c.
uint64_t log_domain_mask_t
tor_process_monitor_t * tor_process_monitor_new(struct event_base *base, const char *process_spec, log_domain_mask_t log_domain, tor_procmon_callback_t cb, void *cb_arg, const char **msg)
int tor_validate_process_specifier(const char *process_spec, const char **msg)
void tor_process_monitor_free_(tor_process_monitor_t *procmon)
tor_procmon_callback_t cb
log_domain_mask_t log_domain