summaryrefslogtreecommitdiffstats
path: root/lib/libjove/include/path-fromobj.h
blob: 252be29f9c80431ed5c1b71bf98747b0479fa62f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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