Commit 1f93a9cf authored by Pekka Pessi's avatar Pekka Pessi

Not inlining attribute functions in tport/tport.c.

darcs-hash:20051031174020-65a35-061ce27c5c0cbd9f2ea07ce5e8b537520513ca4d.gz
parent 106fd935
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment