blob: e5a7590c450513335785fd56daaa60c302e921c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include <stddef.h>
struct blob {
void *data;
size_t size;
};
struct blob blob_new(void);
void blob_append(struct blob *const blob, void const *const data, size_t const size);
void blob_free(struct blob *const blob);
struct blob load_file(char const *const name);
|