OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 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 #ifndef NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ | 7 #ifndef NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ |
8 #define NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ 1 | 8 #define NATIVE_CLIENT_SRC_PUBLIC_CHROME_MAIN_H_ 1 |
9 | 9 |
10 #include "native_client/src/include/nacl_base.h" | 10 #include "native_client/src/include/nacl_base.h" |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
93 #if NACL_LINUX || NACL_OSX | 93 #if NACL_LINUX || NACL_OSX |
94 /* | 94 /* |
95 * Server socket that will be used by debug stub to accept connections | 95 * Server socket that will be used by debug stub to accept connections |
96 * from NaCl GDB. This socket descriptor has already had bind() and listen() | 96 * from NaCl GDB. This socket descriptor has already had bind() and listen() |
97 * called on it. Optional; may be -1. | 97 * called on it. Optional; may be -1. |
98 */ | 98 */ |
99 int debug_stub_server_bound_socket_fd; | 99 int debug_stub_server_bound_socket_fd; |
100 #endif | 100 #endif |
101 | 101 |
102 /* | 102 /* |
103 * Callback called when debug stub port is know. Optional; may be NULL. | |
Mark Seaborn
2014/03/26 23:17:35
"known"
bradn
2014/04/01 18:31:20
Done.
| |
104 */ | |
105 void (*debug_stub_server_port_selected_handler_func)(uint16_t port); | |
106 | |
107 /* | |
103 * Callback to use for creating shared memory objects. Optional; | 108 * Callback to use for creating shared memory objects. Optional; |
104 * may be NULL. | 109 * may be NULL. |
105 */ | 110 */ |
106 NaClCreateMemoryObjectFunc create_memory_object_func; | 111 NaClCreateMemoryObjectFunc create_memory_object_func; |
107 | 112 |
108 /* Cache for NaCl validation judgements. Optional; may be NULL. */ | 113 /* Cache for NaCl validation judgements. Optional; may be NULL. */ |
109 struct NaClValidationCache *validation_cache; | 114 struct NaClValidationCache *validation_cache; |
110 | 115 |
111 #if NACL_WINDOWS | 116 #if NACL_WINDOWS |
112 /* | 117 /* |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
181 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); | 186 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); |
182 | 187 |
183 /* Launch NaCl. This does not return. */ | 188 /* Launch NaCl. This does not return. */ |
184 void NaClChromeMainStartApp(struct NaClApp *nap, | 189 void NaClChromeMainStartApp(struct NaClApp *nap, |
185 struct NaClChromeMainArgs *args); | 190 struct NaClChromeMainArgs *args); |
186 | 191 |
187 | 192 |
188 EXTERN_C_END | 193 EXTERN_C_END |
189 | 194 |
190 #endif | 195 #endif |
OLD | NEW |