75 |
} |
} |
76 |
|
|
77 |
static error_t |
static error_t |
78 |
|
task_set_size (struct store *store, size_t newsize) |
79 |
|
{ |
80 |
|
return EOPNOTSUPP; |
81 |
|
} |
82 |
|
|
83 |
|
static error_t |
84 |
task_decode (struct store_enc *enc, const struct store_class *const *classes, |
task_decode (struct store_enc *enc, const struct store_class *const *classes, |
85 |
struct store **store) |
struct store **store) |
86 |
{ |
{ |
133 |
const struct store_class |
const struct store_class |
134 |
store_task_class = |
store_task_class = |
135 |
{ |
{ |
136 |
STORAGE_TASK, "task", task_read, task_write, |
STORAGE_TASK, "task", task_read, task_write, task_set_size, |
137 |
store_std_leaf_allocate_encoding, store_std_leaf_encode, task_decode, |
store_std_leaf_allocate_encoding, store_std_leaf_encode, task_decode, |
138 |
task_set_flags, task_clear_flags, 0, 0, 0, task_open |
task_set_flags, task_clear_flags, 0, 0, 0, task_open |
139 |
}; |
}; |