summaryrefslogtreecommitdiffstats
path: root/src/sip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sip.h')
-rw-r--r--src/sip.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/sip.h b/src/sip.h
new file mode 100644
index 0000000..14ec8dc
--- /dev/null
+++ b/src/sip.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include <sofia-sip/su_wait.h>
+#include <sofia-sip/url.h>
+#include <sofia-sip/sip.h>
+#include <sofia-sip/nua_tag.h>
+#include <sofia-sip/su_glib.h>
+#include <sofia-sip/nua.h>
+
+struct app_config;
+
+struct sip_agent {
+ struct app_config *app;
+ su_home_t home;
+ su_root_t *root;
+
+ nua_t *nua;
+};
+
+void sip_agent_init(struct sip_agent *agent, struct app_config *app);
+int sip_agent_start(struct sip_agent *agent);