mirror of https://github.com/dnomd343/ClearDNS
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
293 B
16 lines
293 B
#ifndef CRONTAB_H_
|
|
#define CRONTAB_H_
|
|
|
|
#include <stdint.h>
|
|
#include "process.h"
|
|
|
|
typedef struct {
|
|
uint8_t debug; // bool value
|
|
char *cron; // cron expression
|
|
} crontab;
|
|
|
|
void crontab_free(crontab *info);
|
|
crontab* crontab_init(char *cron);
|
|
process* crontab_load(crontab *info);
|
|
|
|
#endif
|
|
|