]> gitweb.ps.run Git - matrix_esp_thesis/blob - src/fixedbuffer.h
get Login example working with CURL
[matrix_esp_thesis] / src / fixedbuffer.h
1 #ifndef FIXEDBUFFER__H\r
2 #define FIXEDBUFFER__H\r
3 \r
4 #include <stdbool.h>\r
5 \r
6 typedef struct FixedBuffer {\r
7     char * ptr;\r
8     int cap;\r
9     int len;\r
10 } FixedBuffer;\r
11 \r
12 FixedBuffer\r
13 FixedBuf(const char * str);\r
14 \r
15 bool\r
16 FixedBufferToInt(FixedBuffer fb, int * outInt);\r
17 \r
18 \r
19 #endif