summaryrefslogtreecommitdiff
path: root/include/baresip.h
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-09 19:03:10 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-07-09 19:03:10 +0200
commite6aae167f2c650028e702f933a85b44be03f5de0 (patch)
treecdb0c099da6e913e835f0dd3f5efe61ceae324f4 /include/baresip.h
parent40c4d6517707cee05fe0f2cfa3efc76bac962f29 (diff)
account: move password prompt to module
Diffstat (limited to 'include/baresip.h')
-rw-r--r--include/baresip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 62e5966..43ffb8a 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -47,6 +47,7 @@ struct account;
int account_alloc(struct account **accp, const char *sipaddr);
int account_debug(struct re_printf *pf, const struct account *acc);
+int account_set_auth_pass(struct account *acc, const char *pass);
int account_set_display_name(struct account *acc, const char *dname);
int account_auth(const struct account *acc, char **username, char **password,
const char *realm);
@@ -59,6 +60,7 @@ uint32_t account_ptime(const struct account *acc);
enum answermode account_answermode(const struct account *acc);
const char *account_aor(const struct account *acc);
const char *account_auth_user(const struct account *acc);
+const char *account_auth_pass(const struct account *acc);
const char *account_outbound(const struct account *acc, unsigned ix);
const char *account_stun_user(const struct account *acc);
const char *account_stun_pass(const struct account *acc);