Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
1f93a9cf
Commit
1f93a9cf
authored
Oct 31, 2005
by
Pekka Pessi
Browse files
Not inlining attribute functions in tport/tport.c.
darcs-hash:20051031174020-65a35-061ce27c5c0cbd9f2ea07ce5e8b537520513ca4d.gz
parent
106fd935
Changes
1
Hide whitespace changes
Inline
Side-by-side
libsofia-sip-ua/tport/tport.c
View file @
1f93a9cf
...
...
@@ -617,7 +617,7 @@ static inline int tport_is_connected(tport_t const *self)
*
* (Note that this is part of external API).
*/
inline
int
tport_is_reliable
(
tport_t
const
*
self
)
int
tport_is_reliable
(
tport_t
const
*
self
)
{
return
self
!=
NULL
&&
(
self
->
tp_pri
->
pri_socktype
==
SOCK_STREAM
||
...
...
@@ -626,7 +626,7 @@ inline int tport_is_reliable(tport_t const *self)
/** Return true if transport supports IPv4 */
inline
int
tport_has_ip4
(
tport_t
const
*
self
)
int
tport_has_ip4
(
tport_t
const
*
self
)
{
return
self
&&
(
self
->
tp_pri
->
pri_family
==
0
||
...
...
@@ -635,14 +635,14 @@ inline int tport_has_ip4(tport_t const *self)
}
/** Return true if transport supports IPv6 */
inline
int
tport_has_ip6
(
tport_t
const
*
self
)
int
tport_has_ip6
(
tport_t
const
*
self
)
{
return
self
&&
(
self
->
tp_pri
->
pri_family
==
0
||
self
->
tp_pri
->
pri_family
==
AF_INET6
);
}
/** Return true if transport supports TLS. */
inline
int
tport_has_tls
(
tport_t
const
*
self
)
int
tport_has_tls
(
tport_t
const
*
self
)
{
#if HAVE_TLS
return
self
&&
self
->
tp_tls
!=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment