Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1136)

Side by Side Diff: src/trusted/service_runtime/sys_filename.h

Issue 23484041: Split filename-based syscall implementations into a separate file (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix missing #includes for Windows Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW
« no previous file with comments | « src/trusted/service_runtime/service_runtime.gyp ('k') | src/trusted/service_runtime/sys_filename.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698