about summary refs log tree commit diff stats
path: root/src/config/account.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-18 14:43:01 +0200
committerGitHub <noreply@github.com>2023-04-18 14:43:01 +0200
commit4933d4e4f3d1cc8ee308c1bb6bfc4c13ec64ac57 (patch)
tree1fed6ab534a857572c0732fe5c9dad73af4617dd /src/config/account.h
parentf51dc019bc08e41fa4564d465136522648a7a663 (diff)
parentbed5c02c0dde0fe3cd8eb6018322a78b4441e22a (diff)
downloadprofani-tty-4933d4e4f3d1cc8ee308c1bb6bfc4c13ec64ac57.tar.gz
Merge pull request #1827 from H3rnand3zzz/feature/sessions-alarm
New Feature: Session Alarm
Diffstat (limited to 'src/config/account.h')
-rw-r--r--src/config/account.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/account.h b/src/config/account.h
index f82a3e11..e8bda927 100644
--- a/src/config/account.h
+++ b/src/config/account.h
@@ -72,6 +72,7 @@ typedef struct prof_account_t
     gchar* tls_policy;
     gchar* auth_policy;
     gchar* client;
+    int max_sessions;
 } ProfAccount;
 
 ProfAccount* account_new(gchar* name, gchar* jid, gchar* password, gchar* eval_password, gboolean enabled,
@@ -82,7 +83,7 @@ ProfAccount* account_new(gchar* name, gchar* jid, gchar* password, gchar* eval_p
                          gchar* omemo_policy, GList* omemo_enabled, GList* omemo_disabled,
                          GList* ox_enabled, GList* pgp_enabled, gchar* pgp_keyid,
                          gchar* startscript, gchar* theme, gchar* tls_policy, gchar* auth_policy,
-                         gchar* client);
+                         gchar* client, int max_sessions);
 char* account_create_connect_jid(ProfAccount* account);
 gboolean account_eval_password(ProfAccount* account);
 void account_free(ProfAccount* account);