1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #ifndef CHECKTASK_H_
- #define CHECKTASK_H_
- #include <sys/timeb.h>
- #include <sys/types.h>
- #include <sys/ioctl.h>
- #include <sys/socket.h>
- #include <sys/ipc.h>
- #include <sys/shm.h>
- #include <sys/mman.h>
- #include <linux/wireless.h>
- #include <arpa/inet.h>
- #include <netinet/in.h>
- #include <unistd.h>
- #include <stdarg.h>
- #include <stdio.h> /*標準輸入輸出定義*/
- #include <stdlib.h> /*標準函數庫定義*/
- #include <unistd.h> /*Unix 標準函數定義*/
- #include <fcntl.h> /*檔控制定義*/
- #include <termios.h> /*PPSIX 終端控制定義*/
- #include <errno.h> /*錯誤號定義*/
- #include <string.h>
- #include <stdint.h>
- #include <time.h>
- #include <ctype.h>
- #include <ifaddrs.h>
- #include <math.h>
- #include <stdbool.h>
- #include <dirent.h>
- #define _SYSTEM_TASK_LOST_ITEM_MAIN 1
- #define _SYSTEM_TASK_LOST_ITEM_EVCOMM 2
- #define _SYSTEM_TASK_LOST_ITEM_EVENTLOG 3
- #define _SYSTEM_TASK_LOST_ITEM_PRIMARYCOMM 4
- #define _SYSTEM_TASK_LOST_ITEM_LCMCONTROL 5
- #define _SYSTEM_TASK_LOST_ITEM_INTERCOMM 6
- #define _SYSTEM_TASK_LOST_ITEM_DOCOMM 7
- #define _SYSTEM_TASK_LOST_ITEM_PRODUCTUTILS 8
- #define _SYSTEM_TASK_LOST_ITEM_UPDATEFW 9
- #define _SYSTEM_TASK_COUNT_MAIN 4
- #define _SYSTEM_TASK_COUNT_EVCOMM 2
- #define _SYSTEM_TASK_COUNT_INTERNALCOMM 2
- #define _SYSTEM_TASK_COUNT_EVENTLOGGING 1
- #define _SYSTEM_TASK_COUNT_PRIMARYCOMM 1
- #define _SYSTEM_TASK_COUNT_LCM 1
- #define _SYSTEM_TASK_COUNT_DOCOMM 1
- #define _SYSTEM_TASK_COUNT_PRODUCEUTILS 1
- #define _SYSTEM_TASK_COUNT_UPDATEFW 1
- unsigned char CheckSystemTask(unsigned char systemPage);
- #endif
|