From 65ba015d6c1f248d36ad01a653bc49637804b15b Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 10 Aug 2025 15:46:33 -0400 Subject: working usermode objdir iteration --- lib/libjove/include/path-fromobj.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 lib/libjove/include/path-fromobj.h (limited to 'lib/libjove/include/path-fromobj.h') diff --git a/lib/libjove/include/path-fromobj.h b/lib/libjove/include/path-fromobj.h new file mode 100644 index 0000000..252be29 --- /dev/null +++ b/lib/libjove/include/path-fromobj.h @@ -0,0 +1,13 @@ +#ifndef _LIBJOVE_PATH_FROMOBJ_H +#define _LIBJOVE_PATH_FROMOBJ_H 1 + +#include +#include + +int path_fromobj_s(KernelObjectTyped *obj, uint8_t *buffer, int size); +inline int path_fromobj(KernelObjectTyped *obj, uint8_t *buffer) +{ return path_fromobj_s(obj, buffer, -1); } + +int path_tobuf(KernelObjectTyped *obj, uint8_t *buffer, size_t at, size_t bufferw); + +#endif -- cgit v1.2.1