170 |
} |
} |
171 |
|
|
172 |
static error_t |
static error_t |
173 |
|
memobj_set_size (struct store *store, size_t newsize) |
174 |
|
{ |
175 |
|
return EOPNOTSUPP; |
176 |
|
} |
177 |
|
|
178 |
|
static error_t |
179 |
memobj_decode (struct store_enc *enc, const struct store_class *const *classes, |
memobj_decode (struct store_enc *enc, const struct store_class *const *classes, |
180 |
struct store **store) |
struct store **store) |
181 |
{ |
{ |
188 |
STORAGE_MEMORY, "memobj", |
STORAGE_MEMORY, "memobj", |
189 |
map: memobj_map, |
map: memobj_map, |
190 |
read: memobj_read, |
read: memobj_read, |
191 |
|
set_size: memobj_set_size, |
192 |
write: memobj_write, |
write: memobj_write, |
193 |
allocate_encoding: store_std_leaf_allocate_encoding, |
allocate_encoding: store_std_leaf_allocate_encoding, |
194 |
encode: store_std_leaf_encode, |
encode: store_std_leaf_encode, |