forked from cory/tildefriends
Cory McWilliams
ed2d57fb4b
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4833 ed5197a5-7fde-0310-b194-c3ffbd925b24
12 lines
496 B
C
12 lines
496 B
C
#pragma once
|
|
|
|
#include <uv.h>
|
|
|
|
typedef struct JSContext JSContext;
|
|
typedef struct _tf_task_t tf_task_t;
|
|
|
|
void tf_file_register(JSContext* context);
|
|
|
|
void tf_file_stat(tf_task_t* task, const char* path, void (*callback)(tf_task_t* task, const char* path, int result, const uv_stat_t* stat, void* user_data), void* user_data);
|
|
void tf_file_read(tf_task_t* task, const char* path, void (*callback)(tf_task_t* task, const char* path, int result, const void* data, void* user_data), void* user_data);
|