mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 22:08:33 +00:00
sync to latest sofia-sip darcs tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5104 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
50b4a37771
commit
5d8a952b5e
117 files changed
+2800
-509
No files matched your search
@@ -197,13 +197,13 @@ SOFIAPUBFUN issize_t msg_headers_prepare(msg_t *,
|
||||
|
||||
#ifdef SU_HAVE_INLINE
|
||||
/** Clear encoded data from header structure. */
|
||||
static inline void msg_fragment_clear(msg_common_t *h)
|
||||
su_inline void msg_fragment_clear(msg_common_t *h)
|
||||
{
|
||||
h->h_data = NULL, h->h_len = 0;
|
||||
}
|
||||
|
||||
/** Pointer to header parameters. */
|
||||
static inline
|
||||
su_inline
|
||||
msg_param_t **msg_header_params(msg_common_t const *h)
|
||||
{
|
||||
if (h && h->h_class->hc_params) {
|
||||
|
||||
@@ -49,7 +49,7 @@ SOFIA_BEGIN_DECLS
|
||||
#define MC_HASH(s, n) (msg_header_name_hash(s, NULL) % (unsigned)(n))
|
||||
|
||||
/** Hash header name */
|
||||
static inline
|
||||
su_inline
|
||||
unsigned short msg_header_name_hash(char const *s, isize_t *llen)
|
||||
{
|
||||
unsigned short hash = 0;
|
||||
|
||||
Reference in new issue
Block a user