json-gen-c  0.1.5
json-gen-c generate C code for json manipulation
io.h
Go to the documentation of this file.
1 
6 #ifndef UTILS_IO_H_
7 #define UTILS_IO_H_
8 
9 #include "utils/sstr.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 int read_file(const char* filename, sstr_t content);
16 int write_file(const char* filename, sstr_t content);
17 
18 #ifdef __cplusplus
19 }
20 #endif
21 
22 #endif // UTILS_IO_H_
sstr_t
void * sstr_t
sstr_t are objects that represent sequences of characters.
Definition: sstr.h:73
sstr.h
sstr_t are objects that represent sequences of characters.