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

SOFIAPUBFUN msg_t* nta_outgoing_getresponse ( nta_outgoing_t orq  ) 

Get reference to response message.

Retrieve the latest incoming response message to the outgoing transaction. Note that the message is not copied, but a new reference to it is created instead.

Parameters:
orq outgoing transaction handle
Return values:
A pointer to response message is returned, or NULL if no response message has been received.

Definition at line 6957 of file nta.c.

References msg_ref_create().

{
  if (orq != NULL && orq != NONE)
    return msg_ref_create(orq->orq_response);
  else
    return NULL;
}


Generated by  Doxygen 1.6.0   Back to index