Add global error handling

This commit is contained in:
lorenz.stechauner committed 2023-01-09 01:07:02 +01:00
1 parent 7f7a07c4d2
commit c36ad8c113
13 files changed
+181 -105

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
/**
* sesimos - secure, simple, modern web server
* @brief Error interface (header fie)
* @file src/lib/error.h
* @author Lorenz Stechauner
* @date 2023-01-08
*/
#ifndef SESIMOS_ERROR_H
#define SESIMOS_ERROR_H
const char *error_str(int err_no, char *buf, int buf_len);
void error_ssl(int err);
void error_mmdb(int err);
int error_http(int err);
#endif //SESIMOS_ERROR_H