MHEG5  15.3.0
source/asn/inc/fpa1_rdf.h File Reference

Contains functions/globals used to read MHEG-5 ASN.1 scripts. More...

#include "vpa1_sys.h"
#include "fpa1_syn.h"

Go to the source code of this file.

Functions

int fpa1_rdfGetTag (void)
vpa1_filePos fpa1_rdfGetContentLength (void)
vpa1_filePos fpa1_rdfGetCurrentFilePosition (void)
int fpa1_rdfGetNextByte (void)
vpa1_filePos fpa1_rdfGetNextTagPosn (void)
int fpa1_rdfGetInteger (vpa1_filePos)
void fpa1_rdfGetOctetString (char *, vpa1_filePos)
void fpa1_rdfMoveToContents (void)
int fpa1_rdfSetNewFilePosition (vpa1_filePos)
int fpa1_rdfGetByteAbsolute (vpa1_filePos)
int fpa1_rdfGetIntegerAbsolute (vpa1_filePos, int)
int fpa1_rdfGetBooleanAbsolute (vpa1_filePos)
fpa1_syntaxListfpa1_parseScriptASN (unsigned char *asndata, unsigned long len)
 Top level entry point to the ASN.1 script to fpa1_syntaxList converter. This function takes the original ASN.1 script as a character array and returns a pointer to a syntax list representing the contents of the ASN.1 script.

Variables

unsigned char * fpa1_outputBufferStart
unsigned long fpa1_outputBufferOffset
int fpa1_GenericDataCount
int fpa1_GroupActionCount
int fpa1_GroupParamCount

Detailed Description

Contains functions/globals used to read MHEG-5 ASN.1 scripts.

Date:
25/02/00
Author:
J.F.Scully

Function Documentation

fpa1_syntaxList* fpa1_parseScriptASN ( unsigned char *  asndata,
unsigned long  len 
)

Top level entry point to the ASN.1 script to fpa1_syntaxList converter. This function takes the original ASN.1 script as a character array and returns a pointer to a syntax list representing the contents of the ASN.1 script.

Parameters:
asndataASN.1 script (as character array)
lenLength of asn.1 script.
Returns:
*fpa1_syntaxList
int fpa1_rdfGetBooleanAbsolute ( vpa1_filePos  pos)

Gets a boolean from the current ASN.1 file buffer. Does no range checking.

Parameters:
posfile position for read
Returns:
int
int fpa1_rdfGetByteAbsolute ( vpa1_filePos  pos)

Gets a byte from the current ASN.1 file buffer.

Parameters:
posfile position for read
Returns:
int
vpa1_filePos fpa1_rdfGetContentLength ( void  )
Returns:
vpa1_filePos fpa1_rdfGetCurrentFilePosition ( void  )
Returns:
int fpa1_rdfGetInteger ( vpa1_filePos  intLength)
Returns:
int fpa1_rdfGetIntegerAbsolute ( vpa1_filePos  pos,
int  intLength 
)

Gets an integer (in hex format) from the current ASN.1 file buffer.

Parameters:
posfile position for read.
tLengthin Number of bytes representing the integer (between 1 and 4)
Returns:
int
int fpa1_rdfGetNextByte ( void  )
Returns:
vpa1_filePos fpa1_rdfGetNextTagPosn ( void  )
Returns:
int fpa1_rdfGetTag ( void  )
Returns:
void fpa1_rdfMoveToContents ( void  )

strPtr must point to an array of length + 1 (to allow for teh NULL char).

Returns:
int fpa1_rdfSetNewFilePosition ( vpa1_filePos  newPosition)

To be used only to set tag positions.

Returns:
 All Data Structures Files Functions Variables Typedefs Defines