summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-01-09 20:21:22 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-01-09 20:21:22 +0100
commit4d8a30e750cfcbb6de91b1a4ee9c55411a146821 (patch)
treef95112383a8a5f2841ec41e953e5a53c9d09c608 /include
parent856d3a5ac00d21d7892d2020a16b33bbd4aa829f (diff)
move playing of ringtones to the menu-module
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 8574d35..2369915 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -31,6 +31,13 @@ struct vidsz;
* Account
*/
+/** Defines the answermodes */
+enum answermode {
+ ANSWERMODE_MANUAL = 0,
+ ANSWERMODE_EARLY,
+ ANSWERMODE_AUTO
+};
+
struct account;
int account_alloc(struct account **accp, const char *sipaddr);
@@ -43,6 +50,7 @@ struct list *account_vidcodecl(const struct account *acc);
struct sip_addr *account_laddr(const struct account *acc);
uint32_t account_regint(const struct account *acc);
uint32_t account_pubint(const struct account *acc);
+enum answermode account_answermode(const struct account *acc);
/*