Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / native_client / src / untrusted / nacl / syscall_bindings_trampoline.h
index ef2ea11..a8432c6 100644 (file)
@@ -199,6 +199,24 @@ typedef int (*TYPE_nacl_getcwd) (char *path, int len);
 
 typedef int (*TYPE_nacl_unlink) (const char *path);
 
+typedef int (*TYPE_nacl_truncate) (const char *file, off_t *length);
+
+typedef int (*TYPE_nacl_lstat) (const char *file, struct stat *st);
+
+typedef int (*TYPE_nacl_link) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_rename) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_symlink) (const char *oldpath, const char *newpath);
+
+typedef int (*TYPE_nacl_chmod) (const char *path, mode_t mode);
+
+typedef int (*TYPE_nacl_access) (const char *path, int amode);
+
+typedef int (*TYPE_nacl_readlink) (const char *path, char *buf, size_t bufsize);
+
+typedef int (*TYPE_nacl_utimes) (const char *path, const struct timeval *times);
+
 #ifdef __GNUC__
 typedef void (*TYPE_nacl_exit) (int status) __attribute__((noreturn));
 #else
@@ -227,7 +245,7 @@ typedef int (*TYPE_nacl_exception_handler) (
     void (*handler)(struct NaClExceptionContext *context),
     void (**old_handler)(struct NaClExceptionContext *context));
 
-typedef int (*TYPE_nacl_exception_stack) (voidstack, size_t size);
+typedef int (*TYPE_nacl_exception_stack) (void *stack, size_t size);
 
 typedef int (*TYPE_nacl_exception_clear_flag) (void);