| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Native Client Authors. All rights reserved. | 2 * Copyright 2008 The Native Client Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 /* | 7 /* |
| 8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction. | 8 * NaCl Service Runtime. Host Directory descriptor / Handle abstraction. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 */ | 69 */ |
| 70 extern int NaClHostDirRewind(struct NaClHostDir *d); | 70 extern int NaClHostDirRewind(struct NaClHostDir *d); |
| 71 | 71 |
| 72 /* | 72 /* |
| 73 * Dtor for the NaClHostDir object. Close the directory. | 73 * Dtor for the NaClHostDir object. Close the directory. |
| 74 * | 74 * |
| 75 * Underlying function: closedir(Mac) / close(Linux) / FindClose(Windows) | 75 * Underlying function: closedir(Mac) / close(Linux) / FindClose(Windows) |
| 76 */ | 76 */ |
| 77 extern int NaClHostDirClose(struct NaClHostDir *d); | 77 extern int NaClHostDirClose(struct NaClHostDir *d); |
| 78 | 78 |
| 79 extern int NaClHostDirFchdir(struct NaClHostDir *d) NACL_WUR; |
| 80 |
| 81 extern int NaClHostDirFchmod(struct NaClHostDir *d, int mode) NACL_WUR; |
| 82 |
| 83 extern int NaClHostDirFsync(struct NaClHostDir *d) NACL_WUR; |
| 84 |
| 85 extern int NaClHostDirFdatasync(struct NaClHostDir *d) NACL_WUR; |
| 86 |
| 79 EXTERN_C_END | 87 EXTERN_C_END |
| 80 | 88 |
| 81 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DIR_H__ */ | 89 #endif /* NATIVE_CLIENT_SRC_TRUSTED_PLATFORM_NACL_HOST_DIR_H__ */ |
| OLD | NEW |