X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/6d75e31596b5ac2e638c8a31c6c2185ee4053b6b..61a1daa59589212608039e2734009870818bacd3:/lunaix-os/includes/lunaix/fs/taskfs.h diff --git a/lunaix-os/includes/lunaix/fs/taskfs.h b/lunaix-os/includes/lunaix/fs/taskfs.h new file mode 100644 index 0000000..0afc048 --- /dev/null +++ b/lunaix-os/includes/lunaix/fs/taskfs.h @@ -0,0 +1,25 @@ +#ifndef __LUNAIX_TASKFS_H +#define __LUNAIX_TASKFS_H + +#include +#include + +struct task_attribute +{ + struct llist_header siblings; + struct hlist_node attrs; + struct hstr key; + struct twimap* map_file; + char key_val[32]; +}; + +void +taskfs_init(); + +void +taskfs_export_attr(const char* key, struct twimap* attr_map_file); + +struct task_attribute* +taskfs_get_attr(struct hstr* key); + +#endif /* __LUNAIX_TASKFS_H */