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>
|
2024-04-16 21:07:30 +00:00
|
|
|
#include <mongoose.h>
|
2020-05-05 09:42:02 +00:00
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
helper_connect_tcp_server(char* host, uint16_t port);
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
2024-04-16 21:07:30 +00:00
|
|
|
char*
|
|
|
|
find_query_param(struct mg_str query_mg_str, char* search_key);
|
|
|
|
|
2020-05-05 09:42:02 +00:00
|
|
|
#endif /* CORE_HELPERS_H */
|