summaryrefslogtreecommitdiffstats
path: root/sys/objdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/objdir.h')
-rw-r--r--sys/objdir.h7
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.