diff options
Diffstat (limited to 'boot/initrd.h')
| -rw-r--r-- | boot/initrd.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/boot/initrd.h b/boot/initrd.h index 9b3bba9..c56b6f8 100644 --- a/boot/initrd.h +++ b/boot/initrd.h @@ -3,9 +3,11 @@ #include "hal/obj.h" -int initrd_file_name(jove_owned_obj_t *obj, const char **nameptr); -int initrd_file_size(jove_owned_obj_t *obj, size_t *sizeptr); -int initrd_file_data(jove_owned_obj_t *obj, uintptr_t *dataptr); +const char *initrd_file_name(jove_owned_obj_t *obj); +size_t initrd_file_size(jove_owned_obj_t *obj); +void *initrd_file_data(jove_owned_obj_t *obj); + +jove_owned_obj_t *initrd_seek(jove_owned_obj_t *objdir, const char *name); void initrd_setup(void); |
