rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free()

This commit is contained in:
luwenpeng
2024-03-08 14:20:36 +08:00
parent 9d562ffee6
commit c945931620
56 changed files with 330 additions and 330 deletions

View File

@@ -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)
{