hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
burrow_storage.h
Go to the documentation of this file.
1 
6 #ifndef IROHA_AMETSUCHI_BURROW_STORAGE_H
7 #define IROHA_AMETSUCHI_BURROW_STORAGE_H
8 
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 extern Iroha_Result Iroha_GetAccount(void *storage, Iroha_CharBuffer address);
16 
17 extern Iroha_Result Iroha_UpdateAccount(void *storage,
18  Iroha_CharBuffer address,
19  Iroha_CharBuffer account);
20 
21 extern Iroha_Result Iroha_RemoveAccount(void *storage,
22  Iroha_CharBuffer address);
23 
24 extern Iroha_Result Iroha_GetStorage(void *storage,
25  Iroha_CharBuffer address,
26  Iroha_CharBuffer key);
27 
28 extern Iroha_Result Iroha_SetStorage(void *storage,
29  Iroha_CharBuffer address,
30  Iroha_CharBuffer key,
31  Iroha_CharBuffer value);
32 
33 extern Iroha_Result Iroha_StoreLog(void *storage,
34  Iroha_CharBuffer address,
35  Iroha_CharBuffer data,
36  Iroha_CharBufferArray topics);
37 
38 #ifdef __cplusplus
39 } // extern "C"
40 #endif
41 
42 #endif
Iroha_Result Iroha_RemoveAccount(void *storage, Iroha_CharBuffer address)
Definition: burrow_storage.cpp:39
Iroha_Result Iroha_StoreLog(void *storage, Iroha_CharBuffer address, Iroha_CharBuffer data, Iroha_CharBufferArray topics)
Definition: burrow_storage.cpp:65
Iroha_Result Iroha_GetStorage(void *storage, Iroha_CharBuffer address, Iroha_CharBuffer key)
Definition: burrow_storage.cpp:45
Iroha_Result Iroha_UpdateAccount(void *storage, Iroha_CharBuffer address, Iroha_CharBuffer account)
Definition: burrow_storage.cpp:30
Definition: common_c_types.h:18
Iroha_Result Iroha_GetAccount(void *storage, Iroha_CharBuffer address)
Definition: burrow_storage.cpp:24
Definition: common_c_types.h:13
Iroha_Result Iroha_SetStorage(void *storage, Iroha_CharBuffer address, Iroha_CharBuffer key, Iroha_CharBuffer value)
Definition: burrow_storage.cpp:54
Definition: common_c_types.h:28