xref: /php-uv/TODO.md (revision ce784064)
1# TODO
2
3* implement all test cases.
4* improve source code. (avoids copy and paste)
5* more error handling
6* buffer allocator
7* documents
8
9# functions (not implemented or not tested)
10
11* UV_EXTERN int uv_write2(uv_write_t* req, uv_stream_t* handle, uv_buf_t bufs[],int bufcnt, uv_stream_t* send_handle, uv_write_cb cb);
12* UV_EXTERN int uv_is_closing(const uv_handle_t* handle);
13
14# Not supported
15
16* UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
17we don't support thread. so this function does not need.
18
19* UV_EXTERN uv_buf_t uv_buf_init(char* base, size_t len);
20* UV_EXTERN size_t uv_strlcpy(char* dst, const char* src, size_t size);
21* UV_EXTERN size_t uv_strlcat(char* dst, const char* src, size_t size);
22
23* UV_EXTERN uv_err_t uv_dlopen(const char* filename, uv_lib_t* library);
24* UV_EXTERN uv_err_t uv_dlclose(uv_lib_t library);
25* UV_EXTERN uv_err_t uv_dlsym(uv_lib_t library, const char* name, void** ptr);
26* UV_EXTERN const char *uv_dlerror(uv_lib_t library);
27* UV_EXTERN void uv_dlerror_free(uv_lib_t library, const char *msg);
28
29* UV_EXTERN char** uv_setup_args(int argc, char** argv);
30* UV_EXTERN uv_err_t uv_get_process_title(char* buffer, size_t size);
31* UV_EXTERN uv_err_t uv_set_process_title(const char* title);
32
33* UV_EXTERN int uv_thread_create(uv_thread_t *tid,void (*entry)(void *arg), void *arg);
34* UV_EXTERN int uv_thread_join(uv_thread_t *tid);
35