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

SOFIAPUBFUN msg_t* nta_incoming_getresponse ( nta_incoming_t irq  ) 

Get response message.

Retrieve the response message latest sent by the server transaction. Note that the message is not copied, but a new reference to it is created. Use msg_dup() or msg_copy() to make a copy of it.

irq incoming transaction handle
Return values:
A pointer to a response message is returned.

Definition at line 5235 of file nta.c.

References msg_ref_create().

  msg_t *msg = NULL;

  if (irq && irq->irq_response)
    msg = msg_ref_create(irq->irq_response);

  return msg;

Generated by  Doxygen 1.6.0   Back to index