diff options
author | James Booth <boothj5@gmail.com> | 2013-11-11 20:51:35 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-11-11 20:51:35 +0000 |
commit | 8c97658b8d1f7a10f146e33ca3dc5a7ff2aa3527 (patch) | |
tree | bd88eee2f2138e2d1cf5f5b52c7bb27972e0e75e /src/config/accounts.h | |
parent | 3e86d108a314a067589e32b60d2f6374eae501b6 (diff) | |
parent | c5f76721ce9d10b127d54e127ac34e555c749465 (diff) | |
download | profani-tty-8c97658b8d1f7a10f146e33ca3dc5a7ff2aa3527.tar.gz |
Merge branch 'master' into refactor2
Conflicts: src/ui/core.c
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 4c74a523..118b5c80 100644 --- a/src/config/accounts.h +++ b/src/config/accounts.h @@ -23,11 +23,14 @@ #ifndef ACCOUNTS_H #define ACCOUNTS_H +#define MAX_PASSWORD_SIZE 64 + #include "common.h" typedef struct prof_account_t { gchar *name; gchar *jid; + gchar *password; gchar *resource; gchar *server; gchar *last_presence; @@ -62,6 +65,7 @@ gboolean accounts_account_exists(const char * const account_name); 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_resource(const char * const account_name, const char * const value); +void accounts_set_password(const char * const account_name, const char * const value); void accounts_set_muc_service(const char * const account_name, const char * const value); void accounts_set_muc_nick(const char * const account_name, const char * const value); void accounts_set_last_presence(const char * const account_name, const char * const value); |