diff options
Diffstat (limited to 'Protocols/SIP/strutils.h')
-rw-r--r-- | Protocols/SIP/strutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Protocols/SIP/strutils.h b/Protocols/SIP/strutils.h index b534ac2..9a67362 100644 --- a/Protocols/SIP/strutils.h +++ b/Protocols/SIP/strutils.h @@ -196,5 +196,7 @@ static const pj_str_t pj_cstr(const char *s) return str;
}
+#define TransportName(_T_) SipToTchar(pj_cstr(pjsip_transport_get_type_name(_T_))).get()
+
#endif // __STRUTILS_H__
|