test: rename some stuff; separate cron part tests
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-mem Pipeline was successful

This commit is contained in:
Jef Roosens 2023-01-28 09:30:35 +01:00
parent adfdca18da
commit 3bf3150b4a
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
8 changed files with 77 additions and 12 deletions

View file

@ -1,4 +1,4 @@
#include "vieter_cron.h"
#include "vieter_cron_parse.h"
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>

View 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