add dictionary implementation

This commit is contained in:
2020-01-25 17:26:16 +04:00
parent daf58bce70
commit 898fa1e5e8
3 changed files with 382 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
/*
* data_entry.h
*
* Created on: Oct 30, 2013
* Author: nnosov
*
* Simple representation of data. Pointer to data and size of data.
*/
#ifndef DATA_ENTRY_H_
#define DATA_ENTRY_H_
//system
#include <stdint.h>
typedef struct _SC_Data
{
_SC_Data()
{
data = 0;
size =0;
}
_SC_Data(const char* _data, uint32_t _size)
{
data = (char*)_data;
size = _size;
}
char* data;
uint32_t size;
} SC_Data;
#endif /* DATA_ENTRY_H_ */