Skip to main content

Crate session

Crate session 

Source

Structs§

libsession_context
libsession_monitor

Enums§

LibsessionLogLevel
LibsessionSessionState
LibsessionStatus
LibsessionUserState

Functions§

libsession_free
libsession_get_log_level⚠
Retrieves the context’s logging level.
libsession_get_session⚠
Retrieves an allocated session ID for the current process.
libsession_monitor_fd
libsession_monitor_flush
libsession_monitor_free
libsession_monitor_new
libsession_new
libsession_pid_get_owner_uid⚠
Safety
libsession_pid_get_session⚠
Retrieves an allocated session ID for a process.
libsession_session_get_state⚠
Safety
libsession_session_get_uid⚠
Safety
libsession_session_id_free⚠
Frees a session ID returned by a session ID or display lookup.
libsession_session_is_active⚠
Safety
libsession_session_is_local⚠
Reports whether a session is local.
libsession_set_log_fn⚠
Sets the context’s logging callback, or disables callbacks with None.
libsession_set_log_level⚠
Sets the context’s logging level.
libsession_uid_get_display⚠
Safety
libsession_uid_get_state⚠
Safety

Type Aliases§

LibsessionLogFn