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

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/kernel_intercept.h

Issue 12194030: Rename mount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix c file. Created 7 years, 10 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
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_ 5 #ifndef LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_
6 #define LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_ 6 #define LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_
7 7
8 #include <ppapi/c/ppb.h> 8 #include <ppapi/c/ppb.h>
9 #include <ppapi/c/pp_instance.h> 9 #include <ppapi/c/pp_instance.h>
10 #include "nacl_mounts/ostypes.h" 10 #include "nacl_io/ostypes.h"
11 #include "utils/macros.h" 11 #include "utils/macros.h"
12 12
13 EXTERN_C_BEGIN 13 EXTERN_C_BEGIN
14 14
15 // The kernel intercept module provides a C->C++ thunk between the libc 15 // The kernel intercept module provides a C->C++ thunk between the libc
16 // kernel calls and the KernelProxy singleton. 16 // kernel calls and the KernelProxy singleton.
17 17
18 // ki_init must be called with an uninitialized KernelProxy object. Calling 18 // ki_init must be called with an uninitialized KernelProxy object. Calling
19 // with NULL will instantiate a default kernel proxy object. ki_init must 19 // with NULL will instantiate a default kernel proxy object. ki_init must
20 // be called before any other ki_XXX function can be used. 20 // be called before any other ki_XXX function can be used.
(...skipping 28 matching lines...) Expand all
49 int ki_remove(const char* path); 49 int ki_remove(const char* path);
50 int ki_unlink(const char* path); 50 int ki_unlink(const char* path);
51 int ki_access(const char* path, int amode); 51 int ki_access(const char* path, int amode);
52 int ki_link(const char* oldpath, const char* newpath); 52 int ki_link(const char* oldpath, const char* newpath);
53 int ki_symlink(const char* oldpath, const char* newpath); 53 int ki_symlink(const char* oldpath, const char* newpath);
54 54
55 EXTERN_C_END 55 EXTERN_C_END
56 56
57 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_ 57 #endif // LIBRARIES_NACL_MOUNTS_KERNEL_INTERCEPT_H_
58 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698