2006-03-14 02:54:24 +00:00
|
|
|
#ifndef _JUDYARRAY_SHARED_INCLUDED
|
|
|
|
#define _JUDYARRAY_SHARED_INCLUDED
|
|
|
|
|
|
|
|
#include "CBaseList.h"
|
|
|
|
#include "CBaseMap.h"
|
|
|
|
|
2006-03-16 02:11:48 +00:00
|
|
|
class BinTrie;
|
|
|
|
|
|
|
|
extern bool JudyClearMasterTrie(CBaseList* master);
|
2006-03-14 02:54:24 +00:00
|
|
|
extern bool JudyClearBinTrie(BinTrie* trie);
|
|
|
|
extern bool JudySaveBinTrie(BinTrie* trie, char* file);
|
|
|
|
extern bool JudyLoadBinTrie(BinTrie* trie, char* file);
|
|
|
|
|
2006-03-16 02:11:48 +00:00
|
|
|
extern bool JudyClearMasterList(CBaseList* master);
|
2006-03-14 02:54:24 +00:00
|
|
|
extern bool JudyClearList(CBaseList* list);
|
|
|
|
extern bool JudySaveList(CBaseList* list, char* file);
|
|
|
|
extern bool JudyLoadList(CBaseList* list, char* file);
|
|
|
|
|
2006-03-16 02:11:48 +00:00
|
|
|
extern bool JudyClearMasterMap(CBaseList* master);
|
2006-03-14 02:54:24 +00:00
|
|
|
extern bool JudyClearMap(CBaseMap* map);
|
|
|
|
extern bool JudySaveMap(CBaseMap* array, char* file);
|
|
|
|
extern bool JudyLoadMap(CBaseMap* array, char* file);
|
|
|
|
|
|
|
|
#endif
|