diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-10 15:46:33 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-10 15:46:33 -0400 |
commit | 65ba015d6c1f248d36ad01a653bc49637804b15b (patch) | |
tree | a77c3fb3ca7ecac8f65eb9638d152f1e90307d0a /lib/libjove/include/path-fromobj.h | |
download | jove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.tar.gz jove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.tar.bz2 jove-os-65ba015d6c1f248d36ad01a653bc49637804b15b.zip |
working usermode objdir iteration
Diffstat (limited to 'lib/libjove/include/path-fromobj.h')
-rw-r--r-- | lib/libjove/include/path-fromobj.h | 13 |
1 files changed, 13 insertions, 0 deletions
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 <jove/object-typed.h> +#include <kernel/object.h> + +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 |