2021-07-26 11:00:37 +01:00
|
|
|
#include "mongoose.h"
|
|
|
|
|
2022-01-18 19:19:34 +00:00
|
|
|
int mkdir(const char *path, mode_t mode) {
|
|
|
|
(void) path, (void) mode;
|
|
|
|
return -1;
|
2021-07-29 14:21:20 +01:00
|
|
|
}
|
|
|
|
|
2021-07-26 11:00:37 +01:00
|
|
|
void mg_connect_resolved(struct mg_connection *c) {
|
|
|
|
(void) c;
|
|
|
|
}
|
|
|
|
|
2022-02-23 03:06:02 +00:00
|
|
|
bool mg_open_listener(struct mg_connection *c, const char *url) {
|
|
|
|
(void) c, (void) url;
|
|
|
|
return false;
|
2021-07-26 11:00:37 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void mg_mgr_poll(struct mg_mgr *mgr, int ms) {
|
|
|
|
(void) mgr, (void) ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool mg_send(struct mg_connection *c, const void *buf, size_t len) {
|
|
|
|
(void) c, (void) buf, (void) len;
|
2022-04-22 14:42:07 +01:00
|
|
|
return false;
|
2021-08-07 17:22:47 +01:00
|
|
|
}
|
|
|
|
|
2022-04-22 14:42:07 +01:00
|
|
|
int mg_mkpipe(struct mg_mgr *mgr, mg_event_handler_t fn, void *fn_data) {
|
2021-08-11 19:17:04 +01:00
|
|
|
(void) mgr, (void) fn, (void) fn_data;
|
2022-04-22 14:42:07 +01:00
|
|
|
return -1;
|
2021-08-07 17:22:47 +01:00
|
|
|
}
|
|
|
|
|
2022-03-06 14:31:42 +00:00
|
|
|
void _fini(void);
|
2021-07-26 11:00:37 +01:00
|
|
|
void _fini(void) {
|
|
|
|
}
|