Add version field in ethPluginInitContract_t
This commit is contained in:
committed by
pscott
parent
ea7d3754c6
commit
ca8dd3ab3c
@@ -9,6 +9,10 @@
|
||||
|
||||
#define PLUGIN_ID_LENGTH 30
|
||||
|
||||
typedef enum {
|
||||
ETH_PLUGIN_INTERFACE_VERSION_1 = 1 // Version 1
|
||||
} eth_plugin_interface_version_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
ETH_PLUGIN_INIT_CONTRACT = 0x0101,
|
||||
@@ -61,8 +65,10 @@ typedef struct ethPluginSharedRO_t {
|
||||
// Init Contract
|
||||
|
||||
typedef struct ethPluginInitContract_t {
|
||||
// in
|
||||
uint8_t interfaceVersion;
|
||||
uint8_t result;
|
||||
|
||||
// in
|
||||
ethPluginSharedRW_t *pluginSharedRW;
|
||||
ethPluginSharedRO_t *pluginSharedRO;
|
||||
uint8_t *pluginContext;
|
||||
@@ -72,8 +78,6 @@ typedef struct ethPluginInitContract_t {
|
||||
|
||||
char *alias; // 29 bytes alias if ETH_PLUGIN_RESULT_OK_ALIAS set
|
||||
|
||||
uint8_t result;
|
||||
|
||||
} ethPluginInitContract_t;
|
||||
|
||||
// Provide parameter
|
||||
|
||||
Reference in New Issue
Block a user