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

Side by Side Diff: src/untrusted/irt/irt.h

Issue 7605029: Extend IRT with nacl_irt_resource_open interface (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: remove empty lines Created 9 years, 4 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 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 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 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H_ 6 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H_
7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H_ 7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H_
8 8
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 struct nacl_irt_blockhook { 136 struct nacl_irt_blockhook {
137 int (*register_block_hooks)(void (*pre)(void), void (*post)(void)); 137 int (*register_block_hooks)(void (*pre)(void), void (*post)(void));
138 }; 138 };
139 139
140 #define NACL_IRT_PPAPIHOOK_v0_1 "nacl-irt-ppapihook-0.1" 140 #define NACL_IRT_PPAPIHOOK_v0_1 "nacl-irt-ppapihook-0.1"
141 struct nacl_irt_ppapihook { 141 struct nacl_irt_ppapihook {
142 int (*ppapi_start)(const struct PP_StartFunctions *); 142 int (*ppapi_start)(const struct PP_StartFunctions *);
143 void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions *); 143 void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions *);
144 }; 144 };
145 145
146 #define NACL_IRT_PPAPIHOOK_v0_2 "nacl-irt-ppapihook-0.2"
147 struct nacl_irt_ppapihook_0_2 {
148 int (*ppapi_start)(const struct PP_StartFunctions *);
149 void (*ppapi_register_thread_creator)(const struct PP_ThreadFunctions *);
150 void (*ppapi_pre_start)();
151 };
152
153 #define NACL_IRT_MANIFEST_OPEN_v0_0 "nacl-irt-manifest-0.0"
154 struct nacl_irt_manifest_open {
155 int (*open_file_in_manifest)(const char* file);
156 };
157
146 #if __cplusplus 158 #if __cplusplus
147 } 159 }
148 #endif 160 #endif
149 161
150 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H */ 162 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698