• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __UVWASI_PATH_RESOLVER_H__
2 #define __UVWASI_PATH_RESOLVER_H__
3 
4 #include "fd_table.h"
5 #include "uvwasi.h"
6 
7 uvwasi_errno_t uvwasi__normalize_path(const char* path,
8                                       uvwasi_size_t path_len,
9                                       char* normalized_path,
10                                       uvwasi_size_t normalized_len);
11 
12 uvwasi_errno_t uvwasi__resolve_path(const uvwasi_t* uvwasi,
13                                     const struct uvwasi_fd_wrap_t* fd,
14                                     const char* path,
15                                     uvwasi_size_t path_len,
16                                     char** resolved_path,
17                                     uvwasi_lookupflags_t flags);
18 
19 #endif /* __UVWASI_PATH_RESOLVER_H__ */
20