/
Crimson2/alias/
Crimson2/area.tmp/
Crimson2/area.tmp/AnomalySpaceDock/
Crimson2/area.tmp/AnomalyStation/
Crimson2/area.tmp/AntHill/
Crimson2/area.tmp/ArcticTerrarium/
Crimson2/area.tmp/BuilderCity/
Crimson2/area.tmp/Dungeon/
Crimson2/area.tmp/MiningDock/
Crimson2/area.tmp/PipeSystem/
Crimson2/area.tmp/RattArea/
Crimson2/area.tmp/RobotFactory/
Crimson2/area.tmp/SilverDale/
Crimson2/area.tmp/StarshipFearless/
Crimson2/area.tmp/StationConduits/
Crimson2/area.tmp/TerrariumAlpha/
Crimson2/area.tmp/TerrariumBeta/
Crimson2/area.tmp/TestArea/
Crimson2/area.tmp/Void/
Crimson2/area/
Crimson2/area/AnomalySpaceDock/
Crimson2/area/AnomalyStation/
Crimson2/area/MiningDock/
Crimson2/area/PipeSystem/
Crimson2/area/SilverDale/
Crimson2/area/StationConduits/
Crimson2/area/Void/
Crimson2/board/
Crimson2/clone/
Crimson2/lib/
Crimson2/mole/
Crimson2/mole/mole_src/HELP/
Crimson2/player/
Crimson2/util/
Crimson2/wldedit/
Crimson2/wldedit/res/
/* MOLE Server Identifier String */
#define MOLE_SERVER_NAME "Crimson2799 MUD"

#define GQD_BINARY (0<<0)
#define GQD_STRING (1<<0)

#define MOLEGetQLWORD(sock,lword)   MOLEGetQULWORD(sock,(ULWORD*)lword)

extern void   MOLESend(SOCK *sock, BYTE* cmd, LWORD cmdLen, ULWORD moleCmd);
extern LWORD  MOLEParse(SOCK *sock, BYTE *cmd, ULWORD *moleCmd);
extern void   MOLEFlushQ(SOCK *sock);
extern LWORD  MOLEGetQSize(SOCK *sock);
extern LWORD  MOLEGetQData(SOCK *sock, BYTE *buf, ULWORD *bufLen,FLAG flag);
extern LWORD  MOLEGetQDataCmd(SOCK *sock, ULWORD *pktCmd);
extern LWORD  MOLEGetQStr(SOCK *sock, STR **data);
extern LWORD  MOLEGetQULWORD(SOCK *sock, ULWORD *data);
extern LWORD  MOLEWriteULWORD(SOCK *sock, ULWORD ulWord, BYTE *dstBuf, ULWORD *bufPos);
extern LWORD  MOLEWriteBuf(SOCK *sock, BYTE *srcBuf, BYTE *dstBuf, ULWORD *bufPos);
extern LWORD  MOLEWriteList(SOCK *sock, ULWORD list, LWORD listSize, BYTE *dstBuf,ULWORD *bufPos);
extern LWORD  MOLECommandCheck(SOCK *sock, BYTE *cmd, LWORD virtual);

#define MOLEWRITELIST(sock,list,dstBuf,bufPos) MOLEWriteList(sock,(ULWORD)list,sizeof(*list),dstBuf,bufPos)