From 82742d5d13dc7b0691a79c79f8e62782fcb16e10 Mon Sep 17 00:00:00 2001 From: justanothercatgirl Date: Thu, 27 Mar 2025 12:52:11 +0300 Subject: Doing SQL (work in progress) --- include/common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/common.h (limited to 'include/common.h') diff --git a/include/common.h b/include/common.h new file mode 100644 index 0000000..539ba3a --- /dev/null +++ b/include/common.h @@ -0,0 +1,15 @@ +#ifndef COMMON_H + +#include + +#include +#include +#include + +typedef struct MHD_Response*(*endpoint)(struct MHD_Connection*, int *status); +typedef char *(*query_func)(const char *path); + +char *duplicate(const char *x); +struct MHD_Response *get_from_file(const char *path); + +#endif // COMMON_H -- cgit v1.2.3-70-g09d2