diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-04-18 14:43:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 14:43:01 +0200 |
commit | 4933d4e4f3d1cc8ee308c1bb6bfc4c13ec64ac57 (patch) | |
tree | 1fed6ab534a857572c0732fe5c9dad73af4617dd /src/config/accounts.h | |
parent | f51dc019bc08e41fa4564d465136522648a7a663 (diff) | |
parent | bed5c02c0dde0fe3cd8eb6018322a78b4441e22a (diff) | |
download | profani-tty-4933d4e4f3d1cc8ee308c1bb6bfc4c13ec64ac57.tar.gz |
Merge pull request #1827 from H3rnand3zzz/feature/sessions-alarm
New Feature: Session Alarm
Diffstat (limited to 'src/config/accounts.h')
-rw-r--r-- | src/config/accounts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/accounts.h b/src/config/accounts.h index c5b829c0..8d111544 100644 --- a/src/config/accounts.h +++ b/src/config/accounts.h @@ -61,6 +61,7 @@ void accounts_set_jid(const char* const account_name, const char* const value); void accounts_set_server(const char* const account_name, const char* const value); void accounts_set_port(const char* const account_name, const int value); void accounts_set_resource(const char* const account_name, const char* const value); +char* accounts_get_resource(const char* const account_name); void accounts_set_password(const char* const account_name, const char* const value); void accounts_set_eval_password(const char* const account_name, const char* const value); void accounts_set_muc_service(const char* const account_name, const char* const value); @@ -89,6 +90,8 @@ void accounts_set_pgp_keyid(const char* const account_name, const char* const va void accounts_set_script_start(const char* const account_name, const char* const value); void accounts_set_client(const char* const account_name, const char* const value); void accounts_set_theme(const char* const account_name, const char* const value); +void accounts_set_max_sessions(const char* const account_name, const int value); +int accounts_get_max_sessions(const char* const account_name); void accounts_clear_password(const char* const account_name); void accounts_clear_eval_password(const char* const account_name); void accounts_clear_server(const char* const account_name); @@ -100,6 +103,7 @@ void accounts_clear_client(const char* const account_name); void accounts_clear_theme(const char* const account_name); void accounts_clear_muc(const char* const account_name); void accounts_clear_resource(const char* const account_name); +void accounts_clear_max_sessions(const char* const account_name); void accounts_add_otr_policy(const char* const account_name, const char* const contact_jid, const char* const policy); void accounts_add_omemo_state(const char* const account_name, const char* const contact_jid, gboolean enabled); void accounts_add_ox_state(const char* const account_name, const char* const contact_jid, gboolean enabled); |