]> git.stg.codes - stg.git/commitdiff
Unused headers removed
authorMaxim Mamontov <faust@gts.dp.ua>
Thu, 7 Apr 2011 14:09:29 +0000 (17:09 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Thu, 7 Apr 2011 14:09:29 +0000 (17:09 +0300)
include/lp2_blocks.h [deleted file]
include/stg_common.h [deleted file]
include/stg_comp_stat.h [deleted file]
include/stg_int.h [deleted file]
include/vpn_stg_packets.h [deleted file]
stglibs/common.lib/stg_common.h [deleted file]

diff --git a/include/lp2_blocks.h b/include/lp2_blocks.h
deleted file mode 100644 (file)
index fddab42..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-#define setPBlockStart(qwer) asm("subb $0x20,l_"#qwer"SC1\n"\
-"l_"#qwer"SC1: .byte 0x80\n"\
-"              addb $0x20,l_"#qwer"SC1\n"\
-" jmp l_"#qwer"Decryptor\n\t"\
- ".string \"m_TCodeStart\"\n\t"\
-  "    l_"#qwer"TCodeStart: nop\n\t")
-
-
-#define setPBlockEnd(qwer) asm("               jmp l_"#qwer"Cryptor\n"\
-"              .string \"m_TCodeEnd\"\n"\
-"              nop\n"\
-"              nop\n"\
-"              nop\n"\
-"              nop\n"\
-"      .string \"m_PCodeEP\"\n"\
-"l_"#qwer"Cryptor:     movl d_"#qwer"Length,%edx\n"\
-"              subl $4,%edx \n"\
-"l_"#qwer"Cryptor_l1:  movl $28,%eax\n"\
-"l_"#qwer"Cryptor_l2:  movl $d_"#qwer"Password,%ebx\n"\
-"              movl (%eax,%ebx),%ecx\n"\
-"              movl d_"#qwer"Start_Adr,%ebx\n"\
-"              xorl %ecx,(%ebx,%edx)\n"\
-"              rorl %cl,(%ebx,%edx)\n"\
-"              subl $4,%edx\n"\
-"              js   l_"#qwer"Cryptor_ex1\n"\
-"              subl $4,%eax\n"\
-"              js   l_"#qwer"Cryptor_l1\n"\
-"              jmp l_"#qwer"Cryptor_l2\n"\
-"l_"#qwer"Cryptor_ex1: jmp l_"#qwer"Exit\n"\
-"l_"#qwer"Decryptor:   movl d_"#qwer"Length,%edx\n"\
-"              subl $4,%edx \n"\
-"l_"#qwer"Decryptor_l1:movl $28,%eax\n"\
-"l_"#qwer"Decryptor_l2:movl $d_"#qwer"Password,%ebx\n"\
-"              movl (%eax,%ebx),%ecx\n"\
-"              movl d_"#qwer"Start_Adr,%ebx\n"\
-"              roll %cl,(%ebx,%edx)\n"\
-"              xorl %ecx,(%ebx,%edx)\n"\
-"              subl $4,%edx\n"\
-"              js l_"#qwer"Decryptor_ex1\n"\
-"              subl $4,%eax\n"\
-"              js l_"#qwer"Decryptor_l1\n"\
-"              jmp l_"#qwer"Decryptor_l2\n"\
-"l_"#qwer"Decryptor_ex1:jmp l_"#qwer"TCodeStart\n"\
-"d_"#qwer"Start_Adr:   .string \"m_TCodeStartAdr\"\n"\
-"d_"#qwer"Length:      .string \"m_TCodeLength\"\n"\
-"d_"#qwer"Password:.string \"m_TCodePass\"\n"\
-"           .string  \"_trfgfgfgfdfgfdfgfdfg\"\n"\
-"      .string \"m_PCodeRet\"\n"\
-"l_"#qwer"Exit:        addb $0x19,l_"#qwer"SC2\n"\
-"l_"#qwer"SC2:         .byte 0x48\n"\
-"              subb $0x19,l_"#qwer"SC2\n")
-
-#define DecryptROData \
-asm(\
-"                      .string \"m_ROEP\"\n"\
-"                      subb $0x20,l_ro_SC1\n"\
-"l_ro_SC1:             .byte 0x80\n"\
-"                      addb $0x20,l_ro_SC1\n"\
-"l_ro_Decryptor:       movl d_ro_Length,%edx\n"\
-"                      subl $4,%edx \n"\
-"l_ro_Decryptor_l1:    movl $28,%eax\n"\
-"l_ro_Decryptor_l2:    movl $d_ro_Password,%ebx\n"\
-"                      movl (%eax,%ebx),%ecx\n"\
-"                      movl d_ro_Start_Adr,%ebx\n"\
-"                      roll %cl,(%ebx,%edx)\n"\
-"                      subl $4,%edx\n"\
-"                      js l_ro_Exit\n"\
-"                      subl $4,%eax\n"\
-"                      js l_ro_Decryptor_l1\n"\
-"                      jmp l_ro_Decryptor_l2\n"\
-"d_ro_Start_Adr:       .string \"m_ROStartAdr\"\n"\
-"d_ro_Length:          .string \"m_ROLength\"\n"\
-"d_ro_ExitAdr:         .string \"m_ROExitAdr\"\n"\
-"d_ro_Password:                .string \"m_ROPass\"\n"\
-"                      .string  \"_trfgfgfgfdfgfdfgfdfg____\"\n"\
-"l_ro_Exit:            .byte 0x61\n"\
-"                      push d_ro_ExitAdr\n"\
-"                      ret\n")
-
-
-
-
diff --git a/include/stg_common.h b/include/stg_common.h
deleted file mode 100644 (file)
index e49f999..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *****************************************************************************
- *
- * File:        stg_common.h
- *
- * Description: çÌÏÂÁÌØÎÏÅ ÄÌÑ ×ÓÅÇÏ ÐÒÏÅËÔÁ STG
- *
- * $Id: stg_common.h,v 1.1.1.1 2005/10/09 11:00:45 nobunaga Exp $
- *
- *****************************************************************************
- */
-
-#ifndef _STG_COMMON_H_
-#define _STG_COMMON_H_
-
-
-#define LOGIN_LEN       (32)
-#define PASSWD_LEN      (32)
-
-#endif  /* _STG_COMMON_H_ */
-
-/* EOF */
-
diff --git a/include/stg_comp_stat.h b/include/stg_comp_stat.h
deleted file mode 100644 (file)
index 3bab9a7..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef STG_COMP_STAT_H
-#define STG_COMP_STAT_H
-
-#ifdef LINUX
-#include <stdint.h>
-#endif
-
-#ifdef FREE_BSD5
-#include <inttypes.h>
-#endif
-
-#ifdef FREE_BSD
-#include <sys/inttypes.h>
-#endif
-
-#include "stg_const.h"
-//-----------------------------------------------------------------------------
-struct DAY_STAT
-{
-    DAY_STAT()
-    {
-        lastUpdate = 0;
-        memset(upload,      0, sizeof(uint64_t) * DIR_NUM);
-        memset(download,    0, sizeof(uint64_t) * DIR_NUM);
-        memset(cash,        0, sizeof(double) * DIR_NUM);
-    }
-
-    time_t      lastUpdate;
-    uint64_t    upload[DIR_NUM];
-    uint64_t    download[DIR_NUM];
-    double      cash[DIR_NUM];
-};
-//-----------------------------------------------------------------------------
-struct MONTH_STAT
-{
-    DAY_STAT    dayStat[31];
-    char        notUsed;
-};
-//-----------------------------------------------------------------------------
-
-#endif //STG_COMP_STAT_H
diff --git a/include/stg_int.h b/include/stg_int.h
deleted file mode 100644 (file)
index 30de8f5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifdef LINUX
-#include <stdint.h>
-#endif
-
-#ifdef FREE_BSD5
-#include <inttypes.h>
-#endif
-
-#ifdef FREE_BSD
-#include <sys/inttypes.h>
-#endif
diff --git a/include/vpn_stg_packets.h b/include/vpn_stg_packets.h
deleted file mode 100644 (file)
index e1f0b0b..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#ifndef vpn_stg_packets_h\r
-#define vpn_stg_packets_h\r
-\r
-#define VS_MAGIC "VS01"\r
-\r
-enum \r
-{\r
-GET_LOGIN,\r
-GET_LOGIN_ANS,\r
-VS_ALIVE,\r
-VS_ALIVE_ANS,\r
-VS_DISCONNECT\r
-}\r
-\r
-\r
-struct VS_GET_LOGIN\r
-{\r
-char magic[4];\r
-STG_PACKET_TYPES type;\r
-char login[32];\r
-//char password[32];\r
-};\r
-\r
-struct VS_CHECK_LOGIN_ANS\r
-{\r
-char magic[4];\r
-STG_PACKET_TYPES type;\r
-char login[32];\r
-char password[32];\r
-uint32_t ip;\r
-};\r
-\r
-struct VS_ALIVE\r
-{\r
-char magic[4];\r
-STG_PACKET_TYPES type;\r
-char login[32];\r
-uint32_t ip;\r
-};\r
-\r
-struct VS_ALIVE_ANS\r
-{\r
-char magic[4];\r
-STG_PACKET_TYPES type;\r
-char login[32];\r
-uint32_t ip;\r
-};\r
-\r
-struct VS_DISCONNECT\r
-{\r
-char magic[4];\r
-STG_PACKET_TYPES type;\r
-char login[32];\r
-uint32_t ip;\r
-};\r
-\r
-\r
-#endif\r
diff --git a/stglibs/common.lib/stg_common.h b/stglibs/common.lib/stg_common.h
deleted file mode 100644 (file)
index 43a43d3..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *****************************************************************************
- *
- * File:        stg_common.h
- *
- * Description: çÌÏÂÁÌØÎÏÅ ÄÌÑ ×ÓÅÇÏ ÐÒÏÅËÔÁ STG
- *
- * $Id: stg_common.h,v 1.1.1.1 2005/09/29 11:33:18 boris Exp $
- *
- *****************************************************************************
- */
-
-#ifndef _STG_COMMON_H_
-#define _STG_COMMON_H_
-
-
-#define LOGIN_LEN       (32)
-#define PASSWD_LEN      (32)
-
-#endif  /* _STG_COMMON_H_ */
-
-/* EOF */
-