| OLD | NEW |
| (Empty) | |
| 1 /* |
| 2 * Copyright (c) 2013 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. |
| 5 */ |
| 6 |
| 7 #ifndef NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FILENAME_H_ |
| 8 #define NATIVE_CLIENT_SERVICE_RUNTIME_NACL_SYS_FILENAME_H_ 1 |
| 9 |
| 10 #include "native_client/src/include/nacl_base.h" |
| 11 #include "native_client/src/include/portability.h" |
| 12 |
| 13 EXTERN_C_BEGIN |
| 14 |
| 15 struct NaClApp; |
| 16 struct NaClAppThread; |
| 17 struct nacl_abi_stat; |
| 18 |
| 19 int32_t NaClOpenAclCheck(struct NaClApp *nap, |
| 20 char const *path, |
| 21 int flags, |
| 22 int mode); |
| 23 |
| 24 int32_t NaClStatAclCheck(struct NaClApp *nap, |
| 25 char const *path); |
| 26 |
| 27 int32_t NaClSysOpen(struct NaClAppThread *natp, |
| 28 char *pathname, |
| 29 int flags, |
| 30 int mode); |
| 31 |
| 32 int32_t NaClSysStat(struct NaClAppThread *natp, |
| 33 const char *path, |
| 34 struct nacl_abi_stat *nasp); |
| 35 |
| 36 int32_t NaClSysMkdir(struct NaClAppThread *natp, |
| 37 uint32_t path, |
| 38 int mode); |
| 39 |
| 40 int32_t NaClSysRmdir(struct NaClAppThread *natp, |
| 41 uint32_t path); |
| 42 |
| 43 int32_t NaClSysChdir(struct NaClAppThread *natp, |
| 44 uint32_t path); |
| 45 |
| 46 int32_t NaClSysGetcwd(struct NaClAppThread *natp, |
| 47 uint32_t buffer, |
| 48 int len); |
| 49 |
| 50 int32_t NaClSysUnlink(struct NaClAppThread *natp, |
| 51 uint32_t path); |
| 52 |
| 53 EXTERN_C_END |
| 54 |
| 55 #endif |
| OLD | NEW |