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

Side by Side Diff: native_client_sdk/src/libraries/nacl_mounts/nacl_mounts.h

Issue 11882012: Convert all project to use common.mk (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 7 years, 11 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_NACL_MOUNTS_H_ 5 #ifndef LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
6 #define LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_ 6 #define LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
7 7
8 #include <ppapi/c/pp_instance.h> 8 #include <ppapi/c/pp_instance.h>
9 #include <ppapi/c/ppb.h> 9 #include <ppapi/c/ppb.h>
10
11 #include "nacl_mounts/kernel_wrap.h"
10 #include "utils/macros.h" 12 #include "utils/macros.h"
11 13
12 EXTERN_C_BEGIN 14 EXTERN_C_BEGIN
13 15
14 16
15 /** Initialize nacl_mounts. 17 /** Initialize nacl_mounts.
16 * 18 *
17 * NOTE: If you initialize nacl_mounts with this constructor, you cannot 19 * NOTE: If you initialize nacl_mounts with this constructor, you cannot
18 * use any mounts that require PPAPI; e.g. persistent storage, etc. 20 * use any mounts that require PPAPI; e.g. persistent storage, etc.
19 */ 21 */
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 * 81 *
80 * @param[in] source Depends on the filesystem type. See above. 82 * @param[in] source Depends on the filesystem type. See above.
81 * @param[in] target The absolute path to mount the filesystem. 83 * @param[in] target The absolute path to mount the filesystem.
82 * @param[in] filesystemtype The name of the filesystem type to mount. See 84 * @param[in] filesystemtype The name of the filesystem type to mount. See
83 * above for examples. 85 * above for examples.
84 * @param[in] mountflags Unused. 86 * @param[in] mountflags Unused.
85 * @param[in] data Depends on the filesystem type. See above. 87 * @param[in] data Depends on the filesystem type. See above.
86 * @return 0 on success, -1 on failure (with errno set). 88 * @return 0 on success, -1 on failure (with errno set).
87 */ 89 */
88 int mount(const char* source, const char* target, const char* filesystemtype, 90 int mount(const char* source, const char* target, const char* filesystemtype,
89 unsigned long mountflags, const void *data); 91 unsigned long mountflags, const void *data) NOTHROW;
90 92
91 EXTERN_C_END 93 EXTERN_C_END
92 94
93 #endif // LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_ 95 #endif // LIBRARIES_NACL_MOUNTS_NACL_MOUNTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698