test: rename some stuff; separate cron part tests
This commit is contained in:
parent
adfdca18da
commit
3bf3150b4a
8 changed files with 77 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "vieter_cron.h"
|
||||
#include "vieter_cron_parse.h"
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
11
src/cron/vieter_cron_parse.h
Normal file
11
src/cron/vieter_cron_parse.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef VIETER_CRON_PARSE
|
||||
#define VIETER_CRON_PARSE
|
||||
|
||||
#include "vieter_cron.h"
|
||||
|
||||
vieter_cron_parse_error vieter_cron_expr_parse_range(uint64_t *out, char *s,
|
||||
uint8_t min, uint8_t max);
|
||||
|
||||
vieter_cron_parse_error vieter_cron_expr_parse_part(uint64_t *out, char *s,
|
||||
uint8_t min, uint8_t max);
|
||||
#endif
|
||||
Reference in a new issue