Objective Systems, Inc.  
Home
About ASN.1
Products
Free Software
Documents
Services
Resources
Resellers
Customers
Careers
About Us
Contact Us
 

Google


Objective Systems, Inc.

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Object Identifier Helper Functions


Functions

EXTERNRT void rtSetOID (ASN1OBJID *ptarget, ASN1OBJID *psource)
EXTERNRT void rtAddOID (ASN1OBJID *ptarget, ASN1OBJID *psource)

Detailed Description

Object identifier helper functions provide assistance in working with the object identifier ASN.1 type. Three functions are provided: tow to populate an Object Identifier structure and one to print the contents.

Function Documentation

EXTERNRT void rtAddOID ASN1OBJID *  ptarget,
ASN1OBJID *  psource
 

This function appends one object identifier to another one. It copies the data from a source variable to the end of a target variable. Typically, the source variable is a compiler-generated object identifier constant that resulted from an object identifier value specification within an ASN.1 specification.

Parameters:
ptarget A pointer to a target object identifier variable to receive object identifier data. Typically, this is a variable within a compiler-generated C structure.
psource A pointer to a source object identifier variable to copy to a target. Typically, this is a compiler-generated variable corresponding to an ASN.1 value specification in the ASN.1 source file.

EXTERNRT void rtSetOID ASN1OBJID *  ptarget,
ASN1OBJID *  psource
 

This function populates an object identifier variable with data. It copies data from a source variable to a target variable. Typically, the source variable is a compiler-generated object identifier constant that resulted from a object identifier value specification within an ASN.1 specification.

Parameters:
ptarget A pointer to a target object identifier variable to receive object * identifier data. Typically, this is a variable within a compiler-generated C structure.
psource A pointer to a source object identifier variable to copy to a target. Typically, this is a compiler-generated variable corresponding to an ASN.1 value specification in the ASN.1 source file.


This file was last modified on 11 Jun 2003.
ASN1C Run-time Common Function, Version 5.5