Added max id for unix_fs_driver + better macros
This commit is contained in:
@@ -12,11 +12,12 @@ typedef struct {
|
||||
} UnixFsDriverData;
|
||||
|
||||
int unix_fs_driver_leave_comment(void *driver_data_ptr, const CommentHeader *header, const char *text);
|
||||
|
||||
int unix_fs_driver_get_header(void *driver_data_ptr, CommentHeader *header, int id);
|
||||
|
||||
int unix_fs_driver_get_text(void *driver_data_ptr, char *text, int id);
|
||||
|
||||
static const Driver unix_fs_driver = { unix_fs_driver_leave_comment, unix_fs_driver_get_header, unix_fs_driver_get_text };
|
||||
|
||||
int unix_fs_driver_get_max_id(void *driver_data_ptr);
|
||||
|
||||
|
||||
#endif /* UNIX_FS_DRIVER_H */
|
||||
|
Reference in New Issue
Block a user