21 lines
280 B
C
21 lines
280 B
C
#ifndef FILEUTILS_H
|
|
#define FILEUTILS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct binary_data_t binary_data_t;
|
|
struct binary_data_t {
|
|
long size;
|
|
void *data;
|
|
};
|
|
|
|
binary_data_t * read_file(const char *filename);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // FILEUTILS_H
|