Add ability to script commands after connect

This commit is contained in:
James Booth
2015-10-15 01:19:24 +01:00
parent fb60a755e5
commit 904a5a81cf
18 changed files with 230 additions and 25 deletions

View File

@@ -60,6 +60,7 @@ typedef struct prof_account_t {
GList *otr_opportunistic;
GList *otr_always;
gchar *pgp_keyid;
gchar *startscript;
} ProfAccount;
ProfAccount* account_new(const gchar * const name, const gchar * const jid,
@@ -69,7 +70,7 @@ ProfAccount* account_new(const gchar * const name, const gchar * const jid,
int priority_away, int priority_xa, int priority_dnd,
const gchar * const muc_service, const gchar * const muc_nick,
const gchar * const otr_policy, GList *otr_manual, GList *otr_opportunistic,
GList *otr_always, const gchar * const pgp_keyid);
GList *otr_always, const gchar * const pgp_keyid, const char *const startscript);
char* account_create_full_jid(ProfAccount *account);
gboolean account_eval_password(ProfAccount *account);
void account_free(ProfAccount *account);