代码拉取完成,页面将自动刷新
#ifndef _NGX_TCP_EXPORT_H_
#define _NGX_TCP_EXPORT_H_
#include <ngx_tcp_export_func.h>
#include <ngx_tcp_export_data.h>
typedef void *(*ngx_tcp_alloc_pt)(void *pool, size_t size);
typedef ngx_tcp_int_t (*ngx_tcp_pfree_pt)(void *pool, void *p);
struct ngx_tcp_ctx_s {
/* cmdso_sessioin array. the slot is init in cmdso_load func */
void **cmdso_sessioin;
void *ngx_tcp_session;
int socketfd;
uint32_t pkg_recv_count;
uint32_t pkg_send_count;
ngx_tcp_log_t tcp_log_t;
void *pool;
ngx_tcp_alloc_pt palloc;
ngx_tcp_alloc_pt pcalloc;
ngx_tcp_pfree_pt pfree;
};
struct ngx_tcp_cycle_ctx_s {
ngx_tcp_export_func_t export_func;
ngx_tcp_export_data_t export_data;
//ngx_tcp_conf_get_str_pt conf_get_str;
//ngx_tcp_log_t tcp_log_t;
//ngx_tcp_send_data_pt send_data;
//ngx_tcp_get_ctx_pt get_ctx;
//ngx_tcp_process_info_t *process_info;
//volatile uintptr_t *current_msec;
//socketfd_shm_info_t *socketfd_shm_info;
};
#endif
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。