432 Dialogic
®
Global Call IP Technology Guide — November 2007
Dialogic Corporation
gc_util_find_parm_ex( ) — find a parameter in a GC_PARM_BLK
/* Initialize this structure for two reasons:
* 1. To search from the first parameter in the parm block
* 2. The first time this structure is used it must be initialized
*/
INIT_GC_PARM_DATA_EXT(&parm_data_ext);
/* loop to retrieve all of the parameters and associated data in the
* GC_PARM_BLK that match the set_ID/parm_ID pair for SIP header fields.
*/
while ( GC_SUCCESS == (ret = gc_util_find_parm_ex(parm_blkp, IPSET_SIP_MSGINFO,
IPPARM_SIP_HDR, &parm_data_ext)) )
{
/* process GC_PARM_DATA_EXT structure */
.
.
.
}
/* Check for error */
if ( GC_ERROR == ret)
{
/* process error */
}
.
.
.
}
See Also
• gc_util_find_parm( )
• gc_util_next_parm_ex( )