summaryrefslogtreecommitdiffstats
path: root/sys/objdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/objdir.h')
-rw-r--r--sys/objdir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/objdir.h b/sys/objdir.h
index e2ae7ef..e86e582 100644
--- a/sys/objdir.h
+++ b/sys/objdir.h
@@ -1,6 +1,7 @@
#ifndef _JOVE_SYS_OBJDIR_H
#define _JOVE_SYS_OBJDIR_H 1
+#include "api/obj.h"
#include "hal/obj.h"
int objdir_new(jove_owned_obj_t *untyped_obj);
@@ -23,6 +24,7 @@ jove_owned_obj_t *objdir_getobj(jove_owned_obj_t *objdir_obj, const uint16_t *pa
/*Same as objdir_getobj but does not block if child objects are locked.*/
jove_owned_obj_t *objdir_trygetobj(jove_owned_obj_t *objdir_obj, const uint16_t *path, size_t path_len);
+bool objdir_compare(jove_owned_obj_t *objdir_obj, objpath_part_t entry, jove_obj_t *obj);
void objdir_swapobj(jove_owned_obj_t *a, jove_owned_obj_t *b);
#endif