implementation session manager
This commit is contained in:
@@ -20,8 +20,8 @@ void session_table_set_freecb(struct session_table *table, session_free_cb free_
|
||||
int session_table_add_session(struct session_table *table, const struct tuple6 *tuple, struct session *sess);
|
||||
void session_table_delete_session(struct session_table *table, const struct tuple6 *tuple);
|
||||
struct session *session_table_find_session(struct session_table *table, const struct tuple6 *tuple);
|
||||
struct session *session_table_find_oldest_session(struct session_table *table);
|
||||
struct session *session_table_find_newest_session(struct session_table *table);
|
||||
struct session *session_table_find_least_recently_unused_session(struct session_table *table);
|
||||
struct session *session_table_find_least_recently_used_session(struct session_table *table);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user