1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- #ifndef __POC__H__
- #define __POC__H__
- #define POC_GROUP_USER_NAME_LEN 40 //POC输出过�是翻�长度的
- #define POC_ALL_USERS_NUM 5
- #define POC_ALL_GROUPS_NUM 5
- #pragma pack(push)
- #pragma pack(1)
- typedef struct{
- unsigned long ID;
- char status;
- char name[POC_GROUP_USER_NAME_LEN];
- }SUT_POC_USER;
- typedef struct{
- unsigned long ID;
- unsigned short usernum;
- char name[POC_GROUP_USER_NAME_LEN];
- unsigned char status;
- }SUT_POC_GROUP;
- typedef struct{
- unsigned char danHuStatus;//是�处�于�呼状怿
- unsigned char logined;//是�已登彿
- unsigned char firstLogin;//是�第一次登彿
- unsigned char spk;//是�有人在说诿
- unsigned char mic;//本机是�在说诿
- unsigned char TTS;
- unsigned char TONE;
- unsigned char beep;
- unsigned char statusChaned;//UI说�状�是��匿
- unsigned char loginResult;
- SUT_POC_USER LocalUser;
- SUT_POC_GROUP LocalGroup;
- char CallName[POC_GROUP_USER_NAME_LEN];
- unsigned long CallID;
- unsigned char UserSum; //³ÉÔ±×ÜÊý
- unsigned char NeedGetUser;
- SUT_POC_USER AllUsers[POC_ALL_USERS_NUM];
- SUT_POC_GROUP AllGroups[POC_ALL_GROUPS_NUM];
- unsigned char handleIndex;
- unsigned short ListFillIndex;
- unsigned int ListCurOnlineNum;
- unsigned char ListUpdate;
- unsigned char ListType;
- unsigned char ListGetOneFlag;
- unsigned char ExceptionReadNum;
- unsigned char ListDetailValid;//是�有群组/�员明细回�
- unsigned char PocLineOffReason;
- unsigned char PaDlyStart;
- unsigned char LeaderCmd;// 0 Õý³£¡£ 1Ò¡ÔÈ¡ 2Ò¡±Ð
- }POC_DEF;
- #pragma pack(pop)
- extern POC_DEF sutPocStatus;
- void pocDataInit(void);
- void pocCmdHandler(unsigned char *msg, int len);
- void pocProCtl(int dly);
- void LogoutOutTimeCheck(unsigned int interval);
- void proHeadSet(char *msg);
- #endif
|