08.01.2013 Views

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

Dialogic® Global Call API Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

gc_util_find_parm_ex( ) — find a parameter in a GC_PARM_BLK<br />

}<br />

/* Initialize this structure for two reasons:<br />

* 1. To search from the first parameter in the parm block<br />

* 2. The first time this structure is used it must be initialized<br />

*/<br />

INIT_GC_PARM_DATA_EXT(&parm_data_ext);<br />

/* loop to retrieve all of the parameters and associated data in the<br />

* GC_PARM_BLK that match the set_ID/parm_ID pair for SIP header fields.<br />

*/<br />

while ( GC_SUCCESS == (ret = gc_util_find_parm_ex(parm_blkp, IPSET_SIP_MSGINFO,<br />

IPPARM_SIP_HDR, &parm_data_ext)) )<br />

{<br />

/* process GC_PARM_DATA_EXT structure */<br />

.<br />

.<br />

.<br />

}<br />

/* Check for error */<br />

if ( GC_ERROR == ret)<br />

{<br />

/* process error */<br />

}<br />

.<br />

.<br />

.<br />

See Also<br />

gc_util_next_parm_ex( )<br />

378 Dialogic ® <strong>Global</strong> <strong>Call</strong> <strong>API</strong> <strong>Library</strong> <strong>Reference</strong> — January 2008<br />

Dialogic Corporation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!