15 lines
327 B
C
15 lines
327 B
C
|
|
#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
|