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

Unified Diff: src/untrusted/irt/irt_interfaces.h

Issue 25027006: Stackable IRT Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 7 years, 3 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
« no previous file with comments | « src/untrusted/irt/irt_instance.c ('k') | src/untrusted/irt/irt_interfaces.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt_interfaces.h
diff --git a/src/untrusted/irt/irt_interfaces.h b/src/untrusted/irt/irt_interfaces.h
index 91c464c0d23bf873bf0f411cb8e22a3f776e8501..0336078b0c7430ad5e50078ae13dcb806f134d06 100644
--- a/src/untrusted/irt/irt_interfaces.h
+++ b/src/untrusted/irt/irt_interfaces.h
@@ -8,6 +8,24 @@
#include <stddef.h>
+#include "native_client/src/untrusted/irt/irt.h"
+
+/*
+struct nacl_irt_module {
+ void (*module_init)(void);
+ void (*module_fini)(void);
+};
+
+extern __attribute__((weak)) struct nacl_irt_module nacl_irt_array[];
+
+typedef TYPE_nacl_irt_query (*TYPE_nacl_irt_module_ctor)(
+ TYPE_nacl_irt_query irt_query);
+
+extern int nacl_irt_module_register(TYPE_nacl_irt_module_ctor ctor);
+extern int nacl_irt_interface_set(const char *interface_ident,
+ void *table, size_t tablesize, void *old_table);
+*/
+
extern size_t nacl_irt_interface(const char *interface_ident,
void *table, size_t tablesize);
@@ -33,5 +51,6 @@ extern const struct nacl_irt_clock nacl_irt_clock;
extern const struct nacl_irt_dev_getpid nacl_irt_dev_getpid;
extern const struct nacl_irt_exception_handling nacl_irt_exception_handling;
extern const struct nacl_irt_dev_list_mappings nacl_irt_dev_list_mappings;
+extern const struct nacl_irt_instance nacl_irt_instance;
#endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ */
« no previous file with comments | « src/untrusted/irt/irt_instance.c ('k') | src/untrusted/irt/irt_interfaces.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698