rename config -> options

This commit is contained in:
luwenpeng
2024-03-08 14:51:21 +08:00
parent d0914483bb
commit 734f6a5135
32 changed files with 336 additions and 336 deletions

View File

@@ -12,7 +12,7 @@ extern "C"
#define SESSION_LOG_ERROR(format, ...) LOG_ERROR("session", format, ##__VA_ARGS__)
#define SESSION_LOG_DEBUG(format, ...) LOG_DEBUG("session", format, ##__VA_ARGS__)
struct session_manager_config
struct session_manager_options
{
// max session number
uint64_t max_tcp_session_num;
@@ -47,7 +47,7 @@ struct session_manager_config
};
struct session_manager;
struct session_manager *session_manager_new(struct session_manager_config *config);
struct session_manager *session_manager_new(struct session_manager_options *opts);
void session_manager_free(struct session_manager *mgr);
// only use the packet six-tuple to find the session, not update it