⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xhc_struct.h

📁 MTK平台QQ移植
💻 H
字号:
#ifndef _XHC_STRUCT_H
#define _XHC_STRUCT_H 

#include "XHC_def.h"


typedef struct 
{
    void**              elements;
    S32                 size;
    S32                 bound;
    S32                 increment;
}xhc_array_struct;

typedef struct
{      
    U16*                 tag;
    XHC_PS_DECODE_FUNC   decode_func;
} xhc_ps_decode_struct;

typedef struct 
{
    S16                 socket_id;
    XHC_CALLBACK_PTR2   soc_notify;
    void*               para;
}xhc_soc_notify_struct;

typedef struct 
{
    S8*                 name;
    U16                 str_len;
    U8*                 str_data;
}xhc_sec_str_struct;

typedef struct 
{
    U16                                 req_state;
    U16                                 http_method;
    S8 *                                str_send_url;
    S8 *                                str_send_host;
    S8*                                 str_reply_path;
    U16                                 post_type;
    S8*                                 post_data;
    S32                                 post_data_len;
    U8                                  request_id;
    U8                                  resend_count;
    
    XHC_CALLBACK_PTR2                   http_rsp_func;
    void*                               para;
}xhc_net_http_struct;


typedef struct 
{
    S8                  file[32];
    S32                 line;
    S32                 size;
    S32                 index;
    void*               mem_ptr;
}xhc_mem_debug_struct;

typedef struct 
{
    XHC_CALLBACK_PTR2               success_callback;
    void*                           para;
}xhc_mem_app_struct;


#endif //_XHC_STRUCT_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -