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

tU32 xComV24Init               ();
tU32 xComV24Exit               ();

tU32 xComV24OpenDev            (tComDevHandle *pDevHandle, tComEnumDev* pComDev);
tU32 xComV24CloseDev           (tComDevHandle   DevHandle);

tU32 xComV24Connect            (tComDevHandle   DevHandle, tU8* pDial);
tU32 xComV24Disconnect         (tComDevHandle   DevHandle);

tU32 xComV24CanWrite           (tComDevHandle   DevHandle);
tU32 xComV24WriteBlock         (tComDevHandle   DevHandle, tU8* pData, tU32 iLen, tU32 iWait);

tU32 xComV24ReadDataAvailable  (tComDevHandle   DevHandle);
tU32 xComV24ReadBlock          (tComDevHandle   DevHandle, tU8* pData, tU32 iLen, tU32 iWait);

tU32 xComV24ClearRxBuff        (tComDevHandle   DevHandle);
tU32 xComV24ClearTxBuff        (tComDevHandle   DevHandle);

tU32 xComV24SetDiscIndCallback (tComDevHandle DevHandle, void (*ProcAddrParm)(void));
tU32 xComV24SetConnIndCallback (tComDevHandle DevHandle, void (*ProcAddrParm)(void));

