Logo Search packages:      
Sourcecode: sofia-sip version File versions  Download package

SOFIAPUBFUN su_msg_arg_t* su_msg_data ( su_msg_cr  rmsg )

Gets a pointer to the message data area.

The function su_msg_data() returns a pointer to the message data area. If rmsg contains a NULL handle, or message size is 0, NULL pointer is returned.

Parameters:
rmsgmessage handle
Returns:
A pointer to the message data area is returned.

Definition at line 1254 of file su_root.c.

References su_msg_data().

Referenced by nua_current_request(), nua_event_data(), nua_saved_event_request(), and su_msg_data().

{
  if (rmsg[0] && rmsg[0]->sum_size > sizeof(su_msg_t))
    return rmsg[0]->sum_data;
  else
    return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index