#include "bastypes.h"
#include "com.h"

tU32 xComDispInit               ();
tU32 xComDispExit               ();

tU32 xComDispOpenDev            (tComDevHandle *pDevHandle, tComEnumDev* pComDev);
tU32 xComDispCloseDev           (tComDevHandle   DevHandle);

tU32 xComDispConnect            (tComDevHandle   DevHandle, tU8* pDial);
tU32 xComDispDisconnect         (tComDevHandle   DevHandle);

tU32 xComDispCanWrite           (tComDevHandle   DevHandle);
tU32 xComDispWriteBlock         (tComDevHandle   DevHandle, tU8* pData, tU32 iLen, tU32 iWait);

tU32 xComDispReadDataAvailable  (tComDevHandle   DevHandle);
tU32 xComDispReadBlock          (tComDevHandle   DevHandle, tU8* pData, tU32 iLen, tU32 iWait);

tU32 xComDispClearRxBuff        (tComDevHandle   DevHandle);
tU32 xComDispClearTxBuff        (tComDevHandle   DevHandle);

tU32 xComDispSetDiscIndCallback (tComDevHandle DevHandle, void (*ProcAddrParm)(void));
tU32 xComDispSetConnIndCallback (tComDevHandle DevHandle, void (*ProcAddrParm)(void));

