rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free()
This commit is contained in:
@@ -47,8 +47,8 @@ struct session_manager_config
|
||||
};
|
||||
|
||||
struct session_manager;
|
||||
struct session_manager *session_manager_create(struct session_manager_config *config);
|
||||
void session_manager_destroy(struct session_manager *mgr);
|
||||
struct session_manager *session_manager_new(struct session_manager_config *config);
|
||||
void session_manager_free(struct session_manager *mgr);
|
||||
|
||||
// only use the packet six-tuple to find the session, not update it
|
||||
struct session *session_manager_lookup_sesssion(struct session_manager *mgr, const struct packet *pkt);
|
||||
|
||||
Reference in New Issue
Block a user