diff options
Diffstat (limited to 'ncr_int.h')
-rw-r--r-- | ncr_int.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,6 +6,10 @@ struct data_item { struct list_head list; + /* This object is not protected from concurrent access. + * I see no reason to allow concurrent writes (reads are + * not an issue). + */ uint8_t* data; size_t data_size; size_t max_data_size; @@ -34,4 +38,10 @@ int ncr_ioctl(unsigned int uid, struct ncr_lists* lst, unsigned int cmd, unsigned long arg); +int ncr_data_set(struct ncr_lists* lst, void __user* arg); +int ncr_data_get(struct ncr_lists* lst, void __user* arg); +int ncr_data_deinit(struct ncr_lists* lst, void __user* arg); +int ncr_data_new(unsigned int uid, struct ncr_lists* lst, void __user* arg); +void ncr_data_list_deinit(struct ncr_lists *lst); + #endif |