evmc/examples/example_host.h

21 lines
453 B
C
Raw Normal View History

2018-08-30 17:38:14 +02:00
/* EVMC: Ethereum Client-VM Connector API.
* Copyright 2016-2019 The EVMC Authors.
2019-03-15 01:25:36 +01:00
* Licensed under the Apache License, Version 2.0.
2018-08-30 17:38:14 +02:00
*/
#include <evmc/evmc.h>
#if __cplusplus
extern "C" {
#endif
const struct evmc_host_interface* example_host_get_interface();
struct evmc_host_context* example_host_create_context(struct evmc_tx_context tx_context);
2018-08-30 17:38:14 +02:00
void example_host_destroy_context(struct evmc_host_context* context);
2018-08-30 17:38:14 +02:00
#if __cplusplus
}
#endif