11cb0ef41Sopenharmony_ci#ifndef __UVWASI_PATH_RESOLVER_H__ 21cb0ef41Sopenharmony_ci#define __UVWASI_PATH_RESOLVER_H__ 31cb0ef41Sopenharmony_ci 41cb0ef41Sopenharmony_ci#include "fd_table.h" 51cb0ef41Sopenharmony_ci#include "uvwasi.h" 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_ciuvwasi_errno_t uvwasi__normalize_path(const char* path, 81cb0ef41Sopenharmony_ci uvwasi_size_t path_len, 91cb0ef41Sopenharmony_ci char* normalized_path, 101cb0ef41Sopenharmony_ci uvwasi_size_t normalized_len); 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ciuvwasi_errno_t uvwasi__resolve_path(const uvwasi_t* uvwasi, 131cb0ef41Sopenharmony_ci const struct uvwasi_fd_wrap_t* fd, 141cb0ef41Sopenharmony_ci const char* path, 151cb0ef41Sopenharmony_ci uvwasi_size_t path_len, 161cb0ef41Sopenharmony_ci char** resolved_path, 171cb0ef41Sopenharmony_ci uvwasi_lookupflags_t flags); 181cb0ef41Sopenharmony_ci 191cb0ef41Sopenharmony_ci#endif /* __UVWASI_PATH_RESOLVER_H__ */ 20