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

SOFIAPUBFUN msg_t* nta_incoming_getrequest ( nta_incoming_t irq  ) 

Get request message.

Retrieve the incoming request message of the incoming transaction. Note that the message is not copied, but a new reference to it is created.

Parameters:
irq incoming transaction handle
Return values:
A pointer to request message is returned.

Definition at line 5193 of file nta.c.

References msg_ref_create().

{
  msg_t *msg = NULL;

  if (irq && !irq->irq_default)
    msg = msg_ref_create(irq->irq_request);

  return msg;
}


Generated by  Doxygen 1.6.0   Back to index