www.pudn.com > VOIP(H323).rar   To Read all the content


[file head]:
/**
* This file was generated by the Objective Systems ASN1C Compiler
* (http://www.obj-sys.com). Version: 5.70, Date: 07-Oct-2004.
*/
#include "ooasn1.h"
#include "H323-MESSAGES.h"

/**************************************************************/
/* */
/* ProtocolIdentifier */
/* */
/**************************************************************/

EXTERN int asn1PD_H225ProtocolIdentifier (OOCTXT* pctxt, H225ProtocolIdentifier* pvalue)
{
int stat = ASN_OK;

stat = decodeObjectIdentifier (pctxt, pvalue);
if (stat != ASN_OK) return LOG_ASN1ERR (pctxt, stat);

return (stat);
}

/**************************************************************/
/* */
/* TransportAddress_ipAddress_ip */
/*
... ...

[file tail]:
... ...
if(stat != ASN_OK) return LOG_ASN1ERR(pctxt,stat);
break;
case T_H225RasMessage_serviceControlIndication:
pvalue->u.serviceControlIndication = ALLOC_ASN1ELEM(pctxt,H225ServiceControlIndication);
if(pvalue->u.serviceControlIndication == NULL)
return LOG_ASN1ERR(pctxt,ASN_E_NOMEM);
stat = asn1PD_H225ServiceControlIndication(pctxt,pvalue->u.serviceControlIndication);
if(stat != ASN_OK) return LOG_ASN1ERR(pctxt,stat);
break;
case T_H225RasMessage_serviceControlResponse:
pvalue->u.serviceControlResponse = ALLOC_ASN1ELEM(pctxt,H225ServiceControlResponse);
if(pvalue->u.serviceControlResponse == NULL)
return LOG_ASN1ERR(pctxt,ASN_E_NOMEM);
stat = asn1PD_H225ServiceControlResponse(pctxt,pvalue->u.serviceControlResponse);
if(stat != ASN_OK) return LOG_ASN1ERR(pctxt,stat);
break;
case T_H225RasMessage_admissionConfirmSequence:
break;
}

copyContext(pctxt,&amt;lctxt);
}

return stat;
}
//added by tony above 12/08/2004