rename: update session pool and packet pool API names for clarity
This commit is contained in:
@@ -53,7 +53,7 @@ void session_pool_free(struct session_pool *pool)
|
||||
}
|
||||
}
|
||||
|
||||
struct session *session_pool_pop(struct session_pool *pool)
|
||||
struct session *session_pool_acquire_sessoin(struct session_pool *pool)
|
||||
{
|
||||
if (pool == NULL)
|
||||
{
|
||||
@@ -71,7 +71,7 @@ struct session *session_pool_pop(struct session_pool *pool)
|
||||
return sess;
|
||||
}
|
||||
|
||||
void session_pool_push(struct session_pool *pool, struct session *sess)
|
||||
void session_pool_release_sessoin(struct session_pool *pool, struct session *sess)
|
||||
{
|
||||
if (pool == NULL || sess == NULL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user