add request url parsing / handling
This commit is contained in:
15
server/include/array.h
Normal file
15
server/include/array.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef HMAIL_ARRAY_H
|
||||
#define HMAIL_ARRAY_H
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
typedef struct {
|
||||
struct mg_str* items;
|
||||
size_t count;
|
||||
size_t capacity;
|
||||
} array_mg_str;
|
||||
|
||||
void array_mg_str_append(array_mg_str* arr, struct mg_str item);
|
||||
void split_mg_str(struct mg_str* string, const char token, array_mg_str* return_array);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user