summaryrefslogtreecommitdiff
path: root/include/baresip.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/baresip.h')
-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);
/*