kuro/fns.h

22 lines
638 B
C
Raw Permalink Normal View History

2024-01-22 07:50:23 +00:00
int strequ(char* s1, char* s2);
char* strcsw(char* s, char a, char b);
char* uvlong_to_hex(uvlong input, char* buf);
2024-01-27 05:39:39 +00:00
int ensure(char* path);
2024-01-22 07:50:23 +00:00
2024-01-31 05:53:42 +00:00
void start_9p(Node* n);
2024-01-22 07:50:23 +00:00
void kuro9p_set_mtpt(char* mtpt);
void kuro9p_write(char* path, char* data, int len);
char* kuro9p_read(char* path, char* buf, int len);
2024-01-27 05:39:39 +00:00
void node_setup(Node* self, Handler* handlers, KuroMemory* memory);
2024-01-22 07:50:23 +00:00
void node_execute(Node* self);
void node_loop(void* data);
2024-01-27 05:39:39 +00:00
Node* create_node(char* filename);
2024-01-22 07:50:23 +00:00
void supervise_node(Node* self);
void node_cleanup(Node* self);
2024-02-02 05:57:26 +00:00
void memory_cleanup(KuroMemory* self);
void set_theme(Image** t, Image** b);
Handler* get_handlers(void);