2015-03-29 19:24:36 +08:00
|
|
|
#pragma once
|
2015-01-24 00:41:01 +08:00
|
|
|
|
|
|
|
#include "_global.h"
|
|
|
|
|
|
|
|
struct LABELSINFO
|
|
|
|
{
|
|
|
|
char mod[MAX_MODULE_SIZE];
|
|
|
|
uint addr;
|
|
|
|
char text[MAX_LABEL_SIZE];
|
|
|
|
bool manual;
|
|
|
|
};
|
|
|
|
|
2015-03-30 06:48:08 +08:00
|
|
|
bool LabelSet(uint Address, const char* Text, bool Manual);
|
|
|
|
bool LabelFromString(const char* Text, uint* Address);
|
|
|
|
bool LabelGet(uint Address, char* Text);
|
|
|
|
bool LabelDelete(uint Address);
|
|
|
|
void LabelDelRange(uint Start, uint End);
|
2015-01-24 00:41:01 +08:00
|
|
|
void labelcachesave(JSON root);
|
|
|
|
void labelcacheload(JSON root);
|
2015-03-30 06:48:08 +08:00
|
|
|
bool LabelEnum(LABELSINFO* List, size_t* Size);
|
2015-03-29 19:24:36 +08:00
|
|
|
void LabelClear();
|