diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-09-26 16:08:27 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-09-26 16:08:27 +0200 |
commit | 433a1f793d5af9e160777b69ea32b22e000a6e0e (patch) | |
tree | ad3e39f6c743c668907d3a82eb8e3b9812989c9e | |
parent | 9dc7de25d9b259cc012677e78ae58285221ee665 (diff) |
make sip_req_send() public
-rw-r--r-- | include/baresip.h | 8 | ||||
-rw-r--r-- | modules/presence/publisher.c | 1 | ||||
-rw-r--r-- | src/core.h | 8 |
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" @@ -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 */ |