
#include "gcomm.h"
#include "majorbbs.h"
#ifdef __TELESERVER
#include "tlcsrv.h"
#else
#include "tlcwor.h"
#endif // __TELESERVER

struct flddef worchnFDA[]={
    {CVTFLD_SHORT       ,2                  ,fldoff(worchn,chn)     ,NULL},
    {CVTFLD_CHAR        ,WBOASIZ            ,fldoff(worchn,worID)   ,NULL},
    {CVTFLD_CHAR        ,CHAN_MAX_SIZE      ,fldoff(worchn,chnName) ,NULL},
    {CVTFLD_CHAR        ,BBSSIZ             ,fldoff(worchn,name)    ,NULL},
    {CVTFLD_CHAR        ,CHAN_MAX_TOPIC_SIZE,fldoff(worchn,topic)   ,NULL},
    {CVTFLD_END         ,0                  ,0                      ,NULL}
};

struct flddef jinfoFDA[]={
    {CVTFLD_SHORT   ,2          ,fldoff(jinfstr,chn)    ,NULL},
    {CVTFLD_LONG    ,2          ,fldoff(jinfstr,unum)   ,NULL},
    {CVTFLD_SHORT   ,1          ,fldoff(jinfstr,inital) ,NULL},
    {CVTFLD_END     ,0          ,0                      ,NULL}
};

struct flddef speakinfFDA[]=
{
    {CVTFLD_CHAR        ,TLCUIDSIZ  ,fldoff(speakinf,ptr1)      ,NULL},
    {CVTFLD_SHORT       ,3          ,fldoff(speakinf,chn)       ,NULL},
    {CVTFLD_LONG        ,2          ,fldoff(speakinf,unumFrom)  ,NULL},
    {CVTFLD_CHAR        ,TLCUIDSIZ  ,fldoff(speakinf,ptr2)      ,NULL},
    {CVTFLD_CHAR        ,TLCUIDSIZ  ,fldoff(speakinf,ptr3)      ,NULL},
    {CVTFLD_CHAR        ,0          ,fldoff(speakinf,msg)       ,NULL},
    {CVTFLD_END         ,0          ,0                          ,NULL}
};

struct flddef actioninfFDA[]=
{
    {CVTFLD_CHAR         ,RESSIZ   ,fldoff(actioninf,fmt)        ,NULL},
    {CVTFLD_CHAR         ,WRATSIZ  ,fldoff(actioninf,rate)       ,NULL},
    {CVTFLD_CHAR         ,ACTSIZ   ,fldoff(actioninf,name)       ,NULL},
    {CVTFLD_SHORT        ,3        ,fldoff(actioninf,isyell)     ,NULL},
    {CVTFLD_LONG         ,2        ,fldoff(actioninf,from)       ,NULL},
    {CVTFLD_CHAR         ,0        ,fldoff(actioninf,extra)      ,NULL},
    {CVTFLD_END,0,0,NULL}
};

struct flddef worchatFDA[]=
{
    {CVTFLD_LONG         ,2        ,fldoff(worchat,unumFrom)     ,NULL},
    {CVTFLD_SHORT        ,1        ,fldoff(worchat,error)     ,NULL},
    {CVTFLD_END,0,0,NULL}
};

