25 #ifndef _GSAD_SESSION_H 26 #define _GSAD_SESSION_H void session_remove_other_sessions(const gchar *id, user_t *user)
Removes all session of the user, except the one with the passed id.
user_t * session_get_user_by_username(const gchar *username)
void session_remove_user(const gchar *id)
Remove a user from the session "database".
User information structure, for sessions.
user_t * session_get_user_by_id(const gchar *id)
void session_add_user(const gchar *id, user_t *user)
Add user to the session "database".