session table rename

This commit is contained in:
luwenpeng
2023-12-13 14:07:24 +08:00
parent 2d3e182b5a
commit fc5b5857b8
3 changed files with 25 additions and 25 deletions

View File

@@ -21,10 +21,10 @@ void session_table_set_freecb(struct session_table *table, session_free_cb free_
* must not add session with same id or same address.
*/
void session_table_add_session(struct session_table *table, struct session *sess);
void session_table_delete_session_with_id(struct session_table *table, uint64_t id);
void session_table_delete_session_with_addr(struct session_table *table, struct session_address *addr);
struct session *session_table_search_session_with_id(struct session_table *table, uint64_t id);
struct session *session_table_search_session_with_addr(struct session_table *table, struct session_address *addr);
void session_table_delete_session_by_id(struct session_table *table, uint64_t id);
void session_table_delete_session_by_addr(struct session_table *table, struct session_address *addr);
struct session *session_table_find_session_by_id(struct session_table *table, uint64_t id);
struct session *session_table_find_session_by_addr(struct session_table *table, struct session_address *addr);
#ifdef __cpluscplus
}