25 lines
590 B
C
25 lines
590 B
C
#ifndef _LOOP_H
|
|
#define _LOOP_H
|
|
|
|
#include "addrinfo.h"
|
|
|
|
struct LOOPSINFO
|
|
{
|
|
char mod[MAX_MODULE_SIZE];
|
|
duint start;
|
|
duint end;
|
|
duint parent;
|
|
int depth;
|
|
bool manual;
|
|
};
|
|
|
|
bool LoopAdd(duint Start, duint End, bool Manual);
|
|
bool LoopGet(int Depth, duint Address, duint* Start, duint* End);
|
|
bool LoopOverlaps(int Depth, duint Start, duint End, int* FinalDepth);
|
|
bool LoopDelete(int Depth, duint Address);
|
|
void LoopCacheSave(JSON Root);
|
|
void LoopCacheLoad(JSON Root);
|
|
bool LoopEnum(LOOPSINFO* List, size_t* Size);
|
|
void LoopClear();
|
|
|
|
#endif //_LOOP_H
|