32 #ifndef SCHEDULER_TASK_H 33 #define SCHEDULER_TASK_H 39 #include <ldns/ldns.h>
task_type * task_perform(task_type *task)
int task_compare_name(const void *a, const void *b)
task_type * task_create(task_id what_id, time_t when, const char *who, const char *what, void *context, how_type clean_context)
task_type *(* how)(task_type *task)
enum task_id_enum task_id
const char * task_who2str(const char *who)
const char * task_what2str(int taskid)
bool task_id_from_long_name(const char *long_name, task_id *pwhat)
task_type *(* clean_context)(task_type *task)
void task_cleanup(task_type *task)
void task_log(task_type *task)
task_id task_register(const char *short_name, const char *long_name, how_type how)
int task_compare(const void *a, const void *b)
char * task2str(task_type *task, char *buftask)
task_type *(* how_type)(task_type *task)