hdac SDK
SDK for hdac blockchain development
tools.h
1 #ifndef TOOLS_H
2 #define TOOLS_H
3 
4 typedef struct mc_MapStringIndex
5 {
6  void *mapObject;
8  {
9  mapObject=nullptr;
10  Init();
11  }
12 
14  {
15  Destroy();
16  }
17  void Init();
18  void Add(const char* key,int value);
19  void Add(const unsigned char* key,int size,int value);
20  void Remove(const char* key,int size);
21  int Get(const char* key);
22  int Get(const unsigned char* key,int size);
23  void Destroy();
24  void Clear();
26 
27 #endif // TOOLS_H
Definition: tools.h:4