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

Google


Objective Systems, Inc.

Print Values to Standard Output
[C Runtime Common Functions]


Detailed Description

These functions print the output in a "name=value" format. The value format is obtained by calling one of the ToString functions with the given value.


Functions

void rtPrintBoolean (ASN1ConstCharPtr name, ASN1BOOL value)
void rtPrintInteger (ASN1ConstCharPtr name, ASN1INT value)
void rtPrintInt64 (ASN1ConstCharPtr name, ASN1INT64 value)
void rtPrintUnsigned (ASN1ConstCharPtr name, ASN1UINT value)
void rtPrintUInt64 (ASN1ConstCharPtr name, ASN1UINT64 value)
void rtPrintBitStr (ASN1ConstCharPtr name, ASN1UINT numbits, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn)
void rtPrintOctStr (ASN1ConstCharPtr name, ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn)
void rtPrintCharStr (ASN1ConstCharPtr name, ASN1ConstCharPtr cstring)
void rtPrint16BitCharStr (ASN1ConstCharPtr name, Asn116BitCharString *bstring, ASN1ConstCharPtr conn)
void rtPrint32BitCharStr (ASN1ConstCharPtr name, Asn132BitCharString *bstring, ASN1ConstCharPtr conn)
void rtPrintReal (ASN1ConstCharPtr name, ASN1REAL value)
void rtPrintOID (ASN1ConstCharPtr name, ASN1OBJID *pOID)
void rtPrintOIDValue (ASN1OBJID *pOID)
void rtPrintOID64 (ASN1ConstCharPtr name, ASN1OID64 *pOID)
void rtPrintOID64Value (ASN1OID64 *pOID)
void rtPrintOpenType (ASN1ConstCharPtr name, ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn)
void rtPrintOpenTypeExt (ASN1ConstCharPtr name, Asn1RTDList *pElemList)


Function Documentation

void rtPrint16BitCharStr ASN1ConstCharPtr  name,
Asn116BitCharString *  bstring,
ASN1ConstCharPtr  conn
 

Parameters:
name The name of the variable to print.
bstring A pointer to the bit string to be printed.
conn A pointer to the connector between the name and the value. This points to either -> or .

void rtPrint32BitCharStr ASN1ConstCharPtr  name,
Asn132BitCharString *  bstring,
ASN1ConstCharPtr  conn
 

Parameters:
name The name of the variable to print.
bstring A pointer to the bit string to be printed.
conn A pointer to the connector between the name and the value. This points to either -> or .

void rtPrintBitStr ASN1ConstCharPtr  name,
ASN1UINT  numbits,
ASN1ConstOctetPtr  data,
ASN1ConstCharPtr  conn
 

Parameters:
name The name of the variable to print.
numbits The number of bitsto be printed.
data A pointer to the data to be printed.
conn A pointer to the connector between the name and the value. This points to either -> or .

void rtPrintBoolean ASN1ConstCharPtr  name,
ASN1BOOL  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).

void rtPrintCharStr ASN1ConstCharPtr  name,
ASN1ConstCharPtr  cstring
 

Parameters:
name The name of the variable to print.
cstring A pointer to the character string to be printed.

void rtPrintInt64 ASN1ConstCharPtr  name,
ASN1INT64  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).

void rtPrintInteger ASN1ConstCharPtr  name,
ASN1INT  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).

void rtPrintOctStr ASN1ConstCharPtr  name,
ASN1UINT  numocts,
ASN1ConstOctetPtr  data,
ASN1ConstCharPtr  conn
 

Parameters:
name The name of the variable to print.
numocts The number of octets to be printed.
data A pointer to the data to be printed.
conn A pointer to the connector between the name and the value. This points to either -> or .

void rtPrintOID ASN1ConstCharPtr  name,
ASN1OBJID *  pOID
 

Parameters:
name The name of the variable to print.
pOID A pointer to the OID to be printed.

void rtPrintOID64 ASN1ConstCharPtr  name,
ASN1OID64 *  pOID
 

Parameters:
name The name of the variable to print.
pOID A pointer to the OID to be printed.

void rtPrintOID64Value ASN1OID64 *  pOID  ) 
 

Parameters:
pOID A pointer to the OID to be printed.

void rtPrintOIDValue ASN1OBJID *  pOID  ) 
 

Parameters:
pOID A pointer to the OID to be printed.

void rtPrintOpenType ASN1ConstCharPtr  name,
ASN1UINT  numocts,
ASN1ConstOctetPtr  data,
ASN1ConstCharPtr  conn
 

Parameters:
name The name of the variable to print.
numocts The number of octets to be printed.
data The pointer to the data to be printed.
conn A pointer to the connector between the name and the value. This points to either -> or .

void rtPrintOpenTypeExt ASN1ConstCharPtr  name,
Asn1RTDList *  pElemList
 

Parameters:
name The name of the variable to print.
pElemList A pointer to an element of a list.

void rtPrintReal ASN1ConstCharPtr  name,
ASN1REAL  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).

void rtPrintUInt64 ASN1ConstCharPtr  name,
ASN1UINT64  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).

void rtPrintUnsigned ASN1ConstCharPtr  name,
ASN1UINT  value
 

Parameters:
name The name of the variable to print.
value ASN.1 value to print (note: multiple arguments may be used to represent the value - for example a bit string would be represented by a numbits argument).


Copyright © 1997-2004 Objective Systems,Inc.
All Rights Reserved.
This document may be distributed in any form, electronic
or otherwise, provided that it is distributed in its entirety
and that the copyright and this notice are included.

This file was last modified on 1 Oct 2004.
ASN1C C/C++ Common Runtime, ASN1C v5.7x