summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-09-26 16:08:27 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-09-26 16:08:27 +0200
commit433a1f793d5af9e160777b69ea32b22e000a6e0e (patch)
treead3e39f6c743c668907d3a82eb8e3b9812989c9e
parent9dc7de25d9b259cc012677e78ae58285221ee665 (diff)
make sip_req_send() public
-rw-r--r--include/baresip.h8
-rw-r--r--modules/presence/publisher.c1
-rw-r--r--src/core.h8
3 files changed, 8 insertions, 9 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 90d038b..59cc140 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -893,6 +893,14 @@ const char *sdp_rattr(const struct sdp_session *s, const struct sdp_media *m,
/*
+ * SIP Request
+ */
+
+int sip_req_send(struct ua *ua, const char *method, const char *uri,
+ sip_resp_h *resph, void *arg, const char *fmt, ...);
+
+
+/*
* Modules
*/
diff --git a/modules/presence/publisher.c b/modules/presence/publisher.c
index 01bbea6..f443852 100644
--- a/modules/presence/publisher.c
+++ b/modules/presence/publisher.c
@@ -8,7 +8,6 @@
#include <string.h>
#include <re.h>
#include <baresip.h>
-#include "../../src/core.h"
#include "presence.h"
diff --git a/src/core.h b/src/core.h
index a9a6b16..bf0a14b 100644
--- a/src/core.h
+++ b/src/core.h
@@ -276,14 +276,6 @@ void rtpkeep_refresh(struct rtpkeep *rk, uint32_t ts);
/*
- * SIP Request
- */
-
-int sip_req_send(struct ua *ua, const char *method, const char *uri,
- sip_resp_h *resph, void *arg, const char *fmt, ...);
-
-
-/*
* SDP
*/