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-29 19:24:36 +08:00
|
|
|
bool LabelSet(uint addr, const char* text, bool manual);
|
2015-01-24 00:41:01 +08:00
|
|
|
bool labelfromstring(const char* text, uint* addr);
|
2015-03-29 19:24:36 +08:00
|
|
|
bool LabelGet(uint addr, char* text);
|
|
|
|
bool LabelDelete(uint addr);
|
|
|
|
void LabelDelRange(uint start, uint end);
|
2015-01-24 00:41:01 +08:00
|
|
|
void labelcachesave(JSON root);
|
|
|
|
void labelcacheload(JSON root);
|
2015-03-29 19:24:36 +08:00
|
|
|
bool LabelEnum(LABELSINFO* labellist, size_t* cbsize);
|
|
|
|
void LabelClear();
|