about summary refs log tree commit diff stats
path: root/src/config/accounts.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2013-11-11 20:51:35 +0000
committerJames Booth <boothj5@gmail.com>2013-11-11 20:51:35 +0000
commit8c97658b8d1f7a10f146e33ca3dc5a7ff2aa3527 (patch)
treebd88eee2f2138e2d1cf5f5b52c7bb27972e0e75e /src/config/accounts.h
parent3e86d108a314a067589e32b60d2f6374eae501b6 (diff)
parentc5f76721ce9d10b127d54e127ac34e555c749465 (diff)
downloadprofani-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.h4
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);