修改__cplusplus->__cpluscplus
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
#define DNS_CLASS_HS 4
|
||||
#define DNS_QCLASS_ANY 255
|
||||
|
||||
// <20>洢 DNS ͷ<><CDB7><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
// <20>洢 DNS ͷ<><CDB7><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
typedef struct _dns_hdr
|
||||
{
|
||||
u_int16_t id;
|
||||
@@ -296,7 +296,7 @@ typedef struct _nsec3param
|
||||
u_char *salt_value;
|
||||
} nsec3param_t;
|
||||
|
||||
// <20>洢 DNS <20><>Դ<EFBFBD><D4B4>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>(<28>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD> / <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD> / <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29>Ľṹ<C4BD><E1B9B9>
|
||||
// <20>洢 DNS <20><>Դ<EFBFBD><D4B4>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>(<28>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD> / <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD> / <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29>Ľṹ<C4BD><E1B9B9>
|
||||
typedef struct _dns_rr
|
||||
{
|
||||
u_char name[DNS_MAX_NAME + 1];
|
||||
@@ -345,7 +345,7 @@ typedef struct _fake_packet_opt
|
||||
u_char res_info[DNS_MAX_NAME + 1];
|
||||
} cheat_pkt_opt_t;
|
||||
|
||||
// <20>洢 DNS Queries <20><><EFBFBD><EFBFBD><EFBFBD>Ľṹ<EFBFBD><EFBFBD>
|
||||
// <20>洢 DNS Queries <20><><EFBFBD><EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
typedef struct
|
||||
{
|
||||
u_int16_t qtype;
|
||||
@@ -355,22 +355,22 @@ typedef struct
|
||||
|
||||
#define MAX_RR_NUM 256
|
||||
|
||||
// <20>洢<EFBFBD><E6B4A2><EFBFBD><EFBFBD> DNS <20><>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
// <20>洢<EFBFBD><E6B4A2><EFBFBD><EFBFBD> DNS <20><>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
typedef struct _dns_info
|
||||
{
|
||||
// <20>洢 DNS ͷ<><CDB7><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
// <20>洢 DNS ͷ<><CDB7><EFBFBD><EFBFBD>Ϣ<EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
dns_hdr_t hdr_info;
|
||||
|
||||
// RR <20><>¼<EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD>
|
||||
// RR <20><>¼<EFBFBD>ĸ<EFBFBD><C4B8><EFBFBD>
|
||||
int rr_count;
|
||||
// <20>洢 DNS <20><>Դ<EFBFBD><D4B4>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>(<28>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD> / <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD> / <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29>Ľṹ<C4BD><E1B9B9>
|
||||
// <20>洢 DNS <20><>Դ<EFBFBD><D4B4>¼<EFBFBD><C2BC><EFBFBD><EFBFBD>(<28>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD> / <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD> / <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29>Ľṹ<C4BD><E1B9B9>
|
||||
dns_rr_t rr[MAX_RR_NUM];
|
||||
|
||||
// <20>洢 DNS Queries <20><><EFBFBD><EFBFBD><EFBFBD>Ľṹ<EFBFBD><EFBFBD>
|
||||
// <20>洢 DNS Queries <20><><EFBFBD><EFBFBD>Ľṹ<C4BD><E1B9B9>
|
||||
dns_query_question_t query_question;
|
||||
} dns_info_t;
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef __cpluscplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
@@ -382,7 +382,7 @@ int dns_parser(dns_info_t *dns_info, char *in_buff, int buff_len);
|
||||
int dns_package(dns_info_t *dns_info, char *out_buff, int buff_size);
|
||||
int dns_cheat_response(dns_info_t *dns_info, cheat_pkt_opt_t *cheat_opt, int cheat_opt_num, char *out_buff, int buff_size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user