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

Unified Diff: src/trusted/service_runtime/sel_ldr.h

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698