app.h 673 B

12345678910111213141516171819202122232425
  1. #ifndef _APP_H_
  2. #define _APP_H_
  3. #include "main.h"
  4. #include "talk.h"
  5. //#include "platform.h"
  6. void app_init(void);
  7. void updateLineStatus(LINES_ENUM status, SETCLR_ENUM flag);
  8. LINES_ENUM getLineStatus(void);
  9. PT_THREAD (ptQueueComReadTask(pt_timer_t *ptPool, struct pt *pt));
  10. PT_THREAD (ptLoginInfoTask(pt_timer_t *ptPool, struct pt *pt));
  11. PT_THREAD (ptHookTask(pt_timer_t *ptPool, struct pt *pt));
  12. void outPutInfoNow(void);
  13. void logEnable(char type);
  14. #include "nwy_osi_api.h"
  15. void threadPostEvent(nwy_osiThread_t *threadId, T_INT32 id);
  16. void userExitThread(const char *name);
  17. void pushCallerInfo(int uid, char *name,int namelen);
  18. void callerNameProcess(int uid);
  19. #endif