diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-17 16:21:55 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-17 16:21:55 -0400 |
| commit | b2920331b103d43793ac8be927a80a593ce0be5a (patch) | |
| tree | a91934ff588ffe02697b530899c8c0227521e04a /sys/objdir.h | |
| parent | d8aca3ff2501f9a77e22e5afb7a30380aed205af (diff) | |
| download | jove-kernel-b2920331b103d43793ac8be927a80a593ce0be5a.tar.gz jove-kernel-b2920331b103d43793ac8be927a80a593ce0be5a.tar.bz2 jove-kernel-b2920331b103d43793ac8be927a80a593ce0be5a.zip | |
Diffstat (limited to 'sys/objdir.h')
| -rw-r--r-- | sys/objdir.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/objdir.h b/sys/objdir.h index 4ef6d04..8ef602d 100644 --- a/sys/objdir.h +++ b/sys/objdir.h @@ -4,6 +4,13 @@ #include "api/obj.h" #include "hal/obj.h" +typedef struct jove_objdir +{ + jove_obj_t entries[OBJDIR_ENTRIES]; +} jove_objdir_t; + +jove_objdir_t *obj_getobjdir(jove_obj_t *obj); + int objdir_new(jove_owned_obj_t *untyped_obj); /*Returns the n'th entry of the object directory passed. * If the passed object is not an objdir, returns NULL and sets errno to EBADOBJ. |
