#endif
#include <string>
-#include "os_int.h"
-#include "stg_const.h"
+#include "stg/os_int.h"
+#include "stg/stg_const.h"
#define STAT_TIME_3 (1)
#define STAT_TIME_2 (2)
#include <fstream>
#include "conffiles.h"
-#include "common.h"
+#include "stg/common.h"
using namespace std;
#include <map>
#include <string>
-#include "os_int.h"
+#include "stg/os_int.h"
using namespace std;
//---------------------------------------------------------------------------
#ifndef _MD5_H
#define _MD5_H
-#include <time.h>
+#include <ctime>
-#include "os_int.h"
+#include "stg/os_int.h"
struct MD5Context {
uint32_t buf[4];
* Description: C implementation of the Blowfish algorithm.
*/
-#include <string.h>
+#include <cstring>
#include "blowfish.h"
-#include "stg_const.h"
+#include "stg/stg_const.h"
/*typedef struct _BCoptions
{
#ifndef BLOWFISH_H
#define BLOWFISH_H
-#include "os_int.h"
+#include "stg/os_int.h"
#define MAXKEYBYTES 56 /* 448 bits */
#include <unistd.h>
#include <limits.h>
-#include "os_int.h"
+#include "stg/os_int.h"
typedef void (* DOTCONFCallback) (void * data, const char * buf);
#ifndef ASYNC_DNS_MEMPOOL_H
#define ASYNC_DNS_MEMPOOL_H
-#include "os_int.h"
-
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#endif
-#include "common.h"
+#include "stg/common.h"
#include "ia_auth_c.h"
#define IA_NONE (0)
#include <vector>
#include <map>
-#include "blowfish.h"
-#include "ia_packets.h"
+#include "stg/blowfish.h"
+#include "stg/ia_packets.h"
#define IA_BIND_ERROR (1)
#define IA_SERVER_ERROR (2)
#include <stdio.h>
#include "pinger.h"
-#include "common.h"
-#include "stg_locker.h"
+#include "stg/common.h"
+#include "stg/stg_locker.h"
#ifdef STG_TIME
extern volatile time_t stgTime;
#include <arpa/inet.h>
#endif
-#include "os_int.h"
+#include "stg/os_int.h"
//-----------------------------------------------------------------------------
struct ICMP_HDR
#define SCRIPT_EXECUTER_H
#include <string>
-#include <sys/types.h>
int ScriptExec(const std::string & str);
void Executer(int msgKey, int msgID, pid_t pid, char * procName);
#include <cstring>
#include "netunit.h"
-#include "common.h"
+#include "stg/common.h"
//---------------------------------------------------------------------------
#include <list>
#include <string>
-#include "common.h"
-#include "blowfish.h"
+#include "stg/blowfish.h"
#define STG_HEADER "SG04"
#define OK_HEADER "OKHD"
#include <arpa/inet.h>
#include <string>
-#include "common.h"
-#include "stg_const.h"
+#include "stg/common.h"
+#include "stg/stg_const.h"
#include "servconf.h"
using namespace std;
#include <cstdio>
#include <cstring>
+#include "stg/common.h"
#include "servconf.h"
using namespace std;
#include <list>
#include <string>
-#include "os_int.h"
+#include "stg/os_int.h"
+#include "stg/stg_const.h"
#include "netunit.h"
-#include "stg_const.h"
void Start(void *data, const char *el, const char **attr);
void End(void *data, const char *el);
#include <pthread.h>
+
#include "stg_locker.h"
#ifdef DEBUG_LOCKER
#define STG_LOCKER_H
#include <pthread.h>
-#include "noncopyable.h"
#ifdef DEBUG_LOCKER
#include <pthread.h>
#endif
+
+#include "stg/noncopyable.h"
//-----------------------------------------------------------------------------
class STG_LOCKER : private NONCOPYABLE
{
#define STG_LOGGER_H
#include <pthread.h>
+
#include <string>
-#include "noncopyable.h"
+
+#include "stg/noncopyable.h"
const char * LogDate(time_t t);
//-----------------------------------------------------------------------------