34 |
|
|
35 |
|
|
36 |
/* Predefined read callback. */ |
/* Predefined read callback. */ |
37 |
static long |
static ssize_t |
38 |
read_cb (void *handle, void *buffer, size_t size) |
read_cb (void *handle, void *buffer, size_t size) |
39 |
{ |
{ |
40 |
file_data_t cb = (file_data_t)handle; |
file_data_t cb = (file_data_t)handle; |
59 |
|
|
60 |
|
|
61 |
/* Predefined write callback. */ |
/* Predefined write callback. */ |
62 |
static long |
static ssize_t |
63 |
write_cb (void *handle, const void *buffer, size_t size) |
write_cb (void *handle, const void *buffer, size_t size) |
64 |
{ |
{ |
65 |
file_data_t cb = (file_data_t)handle; |
file_data_t cb = (file_data_t)handle; |