rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free()
This commit is contained in:
@@ -103,7 +103,7 @@ static void session_table_del_session_from_linklist(struct session_table *table,
|
||||
* Public API
|
||||
******************************************************************************/
|
||||
|
||||
struct session_table *session_table_create()
|
||||
struct session_table *session_table_new()
|
||||
{
|
||||
struct session_table *table = (struct session_table *)calloc(1, sizeof(struct session_table));
|
||||
table->count = 0;
|
||||
@@ -113,7 +113,7 @@ struct session_table *session_table_create()
|
||||
return table;
|
||||
}
|
||||
|
||||
void session_table_destroy(struct session_table *table)
|
||||
void session_table_free(struct session_table *table)
|
||||
{
|
||||
if (table)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user