Connect to an account on start-up

This commit enables connecting to an account on startup which enables
the use case of having different pre-configured scripts which start
different profanity processes for different accounts. This only makes
sense in the light of not supporting many accounts connected per
process.
This commit is contained in:
Tomás Senart
2013-10-14 21:22:46 +02:00
parent 3cc080b06a
commit ac7ec7f2d1
3 changed files with 11 additions and 3 deletions

View File

@@ -26,7 +26,7 @@
#include "resource.h"
#include "xmpp/xmpp.h"
void prof_run(const int disable_tls, char *log_level);
void prof_run(const int disable_tls, char *log_level, char *account_name);
void prof_handle_login_success(const char *jid, const char *altdomain);
void prof_handle_login_account_success(char *account_name);