core-legacy/include/helpers.h

21 lines
351 B
C
Raw Normal View History

2020-05-05 09:42:02 +00:00
#ifndef CORE_HELPERS_H
#define CORE_HELPERS_H
2020-05-06 23:38:13 +00:00
#include <time.h>
2020-05-05 09:42:02 +00:00
#include <config.h>
#include <confini.h>
int
helper_connect_tcp_server(char* host, uint16_t port);
void
helper_parse_cli(int argc, const char **argv, config_t *config);
int
2020-05-06 23:38:13 +00:00
helper_get_weekday(const struct tm *time_struct);
2020-05-05 09:42:02 +00:00
2020-06-18 22:26:49 +00:00
int
helper_drop_privileges();
2020-05-05 09:42:02 +00:00
#endif /* CORE_HELPERS_H */