00001 #ifndef _HLBR_DECODE_H_ 00002 #define _HLBR_DECODE_H_ 00003 00004 #include "../config.h" 00005 #include "../engine/hlbr.h" 00006 00007 #define DECODER_NONE -1 00008 00009 int InitDecoders(); 00010 int GetDecoderByName(char* Name); 00011 int CreateDecoder(char* Name); 00012 int DecoderAddTest(int DecoderID, int TestID); 00013 int DecoderAddDecoder(int ParentDecoderID, int ChildDecoderID); 00014 int DecoderAddModule(int DecoderID, int ModuleID); 00015 int Decode(int DecoderID, int PacketSlot); 00016 int DecoderSetDependency(int DecoderID, int TestID); 00017 int GetDataByID(int PacketSlot, int DecoderID, void** data); 00018 00019 #endif