blob: 5c48d73087c9cb75eed9a6cda0c1915916b38fb8 [file] [log] [blame]
#ifndef _PARENT_CONTROL_SET_H_
#define _PARENT_CONTROL_SET_H_
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/time.h>
#include <pthread.h>
#include <errno.h>
#include <linux/rtc.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <stdarg.h>
//#include <message.h>
#include <rtc-service.h>
#include "softap_api.h"
#include "soft_timer.h"
//#include "message.h"
#include "rtc_timer.h"
#define PCS_NV_MAX_LEN 1024
#define ACL_TIMER_ID 10001
#define PS_MAX_LOG_LENGTH 524288
#define itoa(i,a,b) (((b) == 16) ? sprintf((a), "%x", (i)) : sprintf((a), "%d", (i)))
typedef struct tm TM;
// ½á¹¹Ì嶨Òå
typedef struct _hour_node {
int flag;
// int minute[60]; //À©Õ¹ÓÃ:½«À´Ö§³ÖÉèÖõ½·ÖÖÓ
unsigned long enable_interval;
} Hour_Node;
typedef struct _time_node {
int first_hour;
Hour_Node TimeSet[24];
int TimeNum;
} Time_Node;
#endif