|
@@ -1,60 +1,43 @@
|
|
|
#include <sys/time.h>
|
|
|
#include <sys/timeb.h>
|
|
|
-#include <sys/types.h>
|
|
|
-#include <sys/stat.h>
|
|
|
-#include <sys/types.h>
|
|
|
+#include <sys/types.h>
|
|
|
+#include <sys/stat.h>
|
|
|
#include <sys/ioctl.h>
|
|
|
#include <sys/socket.h>
|
|
|
#include <sys/ipc.h>
|
|
|
#include <sys/shm.h>
|
|
|
-#include <sys/shm.h>
|
|
|
#include <sys/mman.h>
|
|
|
#include <linux/wireless.h>
|
|
|
#include <linux/sockios.h>
|
|
|
#include <linux/socket.h>
|
|
|
#include <arpa/inet.h>
|
|
|
#include <netinet/in.h>
|
|
|
-
|
|
|
#include <unistd.h>
|
|
|
#include <stdarg.h>
|
|
|
-#include <stdio.h> /*�зǿ�J��X�w�q*/
|
|
|
-#include <stdlib.h> /*�зǨ�Ʈw�w�q*/
|
|
|
-#include <unistd.h> /*Unix �зǨ�Ʃw�q*/
|
|
|
-#include <fcntl.h> /*�ɱ���w�q*/
|
|
|
-#include <termios.h> /*PPSIX �ݱ���w�q*/
|
|
|
-#include <errno.h> /*���~���w�q*/
|
|
|
+#include <stdio.h>
|
|
|
+#include <stdlib.h>
|
|
|
+#include <unistd.h>
|
|
|
+#include <fcntl.h>
|
|
|
+#include <termios.h>
|
|
|
#include <errno.h>
|
|
|
#include <string.h>
|
|
|
#include <time.h>
|
|
|
#include <ctype.h>
|
|
|
#include <ifaddrs.h>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-#include "./lib/Headers/libwebsockets.h"
|
|
|
+#include "libwebsockets.h"
|
|
|
#include <lws_config.h>
|
|
|
-#include "./json-c/JsonParser.h"
|
|
|
-
|
|
|
#include "hashmap.h"
|
|
|
-
|
|
|
-#include "SystemLogMessage.h"
|
|
|
+#include "SystemLogMessage.h"
|
|
|
#include "ShareMemory.h"
|
|
|
#include <pthread.h>
|
|
|
-#include "MessageHandler.h"
|
|
|
+#include "MessageHandler.h"
|
|
|
#include "sqlite3.h"
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
#ifndef SPEC_LATEST_SUPPORTED
|
|
|
#define SPEC_LATEST_SUPPORTED 13
|
|
|
#endif
|
|
|
|
|
|
-#if 0
|
|
|
-#define DEBUG_INFO(format, args...) StoreLogMsg("[%s:%d][%s][Info] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
|
|
|
-#define DEBUG_WARN(format, args...) StoreLogMsg("[%s:%d][%s][Warn] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
|
|
|
-#define DEBUG_ERROR(format, args...) StoreLogMsg("[%s:%d][%s][Error] "format, __FILE__, __LINE__, __FUNCTION__, ##args)
|
|
|
-#endif
|
|
|
|
|
|
#define Debug
|
|
|
|