Index: src/trusted/service_runtime/sel_ldr.h |
=================================================================== |
--- src/trusted/service_runtime/sel_ldr.h (revision 5616) |
+++ src/trusted/service_runtime/sel_ldr.h (working copy) |
@@ -74,8 +74,10 @@ |
struct NaClAppThread; |
struct NaClDesc; /* see native_client/src/trusted/desc/nacl_desc_base.h */ |
struct NaClDynamicRegion; |
+struct NaClManifestProxy; |
struct NaClSecureService; |
struct NaClSecureReverseService; |
+struct NaClThreadInterface; /* see sel_ldr_thread_interface.h */ |
struct NaClDebugCallbacks { |
void (*thread_create_hook)(struct NaClAppThread *natp); |
@@ -214,6 +216,9 @@ |
struct NaClDesc *name_service_conn_cap; |
struct NaClSecureService *secure_service; |
+ struct NaClThread reverse_setup_thread; |
+ /* used only during setup, thread dtors before exiting */ |
+ struct NaClManifestProxy *manifest_proxy; |
struct NaClSecureReverseClient *reverse_client; |
int reverse_channel_initialized; |
NaClSrpcChannel reverse_channel; |
@@ -533,6 +538,14 @@ |
void NaClSecureCommandChannel(struct NaClApp *nap); |
+int NaClSecureReverseClientInsertHandler( |
+ struct NaClSecureReverseClient *self, |
+ void (*handler)( |
+ void *handler_state, |
noelallen_use_chromium
2011/06/14 02:25:45
nit: Should these param names be intented to align
bsy
2011/06/14 20:30:03
sure, that would make it more readable and less li
|
+ struct NaClThreadInterface *thread_if, |
+ struct NaClDesc *new_conn), |
+ void *handler_state); |
+ |
NaClErrorCode NaClWaitForLoadModuleStatus(struct NaClApp *nap) NACL_WUR; |
NaClErrorCode NaClWaitForStartModuleCommand(struct NaClApp *nap) NACL_WUR; |