rename config -> options
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user