mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 05:48: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
@@ -119,29 +119,29 @@ struct msg_buffer_s {
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
/* Header-kind predicate functions. */
|
||||
static inline int msg_is_single(msg_header_t const *h)
|
||||
su_inline int msg_is_single(msg_header_t const *h)
|
||||
{
|
||||
return h->sh_class->hc_kind == msg_kind_single;
|
||||
}
|
||||
|
||||
static inline int msg_is_prepend(msg_header_t const *h)
|
||||
su_inline int msg_is_prepend(msg_header_t const *h)
|
||||
{
|
||||
return h->sh_class->hc_kind == msg_kind_prepend;
|
||||
}
|
||||
|
||||
static inline int msg_is_append(msg_header_t const *h)
|
||||
su_inline int msg_is_append(msg_header_t const *h)
|
||||
{
|
||||
return
|
||||
h->sh_class->hc_kind == msg_kind_append ||
|
||||
h->sh_class->hc_kind == msg_kind_apndlist;
|
||||
}
|
||||
|
||||
static inline int msg_is_list(msg_header_t const *h)
|
||||
su_inline int msg_is_list(msg_header_t const *h)
|
||||
{
|
||||
return h->sh_class->hc_kind == msg_kind_list;
|
||||
}
|
||||
|
||||
static inline int msg_is_special(msg_header_t const *h)
|
||||
su_inline int msg_is_special(msg_header_t const *h)
|
||||
{
|
||||
return h->sh_class->hc_hash < 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user