From 43adbd5ff5e80a8114ec2c34ae9b3a6d5827c01e Mon Sep 17 00:00:00 2001 From: Richard Aas Date: Wed, 4 Feb 2015 07:29:43 +0000 Subject: [PATCH] sip: export sip_transp_laddr() --- include/re_sip.h | 2 ++ src/sip/sip.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/re_sip.h b/include/re_sip.h index 63445a9..fa1d2e2 100644 --- a/include/re_sip.h +++ b/include/re_sip.h @@ -264,6 +264,8 @@ bool sip_transp_isladdr(const struct sip *sip, enum sip_transp tp, const char *sip_transp_name(enum sip_transp tp); const char *sip_transp_param(enum sip_transp tp); uint16_t sip_transp_port(enum sip_transp tp, uint16_t port); +int sip_transp_laddr(struct sip *sip, struct sa *laddr, enum sip_transp tp, + const struct sa *dst); /* request */ diff --git a/src/sip/sip.h b/src/sip/sip.h index 94361d1..ad5e74a 100644 --- a/src/sip/sip.h +++ b/src/sip/sip.h @@ -70,8 +70,6 @@ int sip_transp_init(struct sip *sip, uint32_t sz); int sip_transp_send(struct sip_connqent **qentp, struct sip *sip, void *sock, enum sip_transp tp, const struct sa *dst, struct mbuf *mb, sip_transp_h *transph, void *arg); -int sip_transp_laddr(struct sip *sip, struct sa *laddr, enum sip_transp tp, - const struct sa *dst); bool sip_transp_supported(struct sip *sip, enum sip_transp tp, int af); const char *sip_transp_srvid(enum sip_transp tp); bool sip_transp_reliable(enum sip_transp tp);