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

Google


Objective Systems, Inc.

Comparison to Standard Output Functions
[C Runtime Common Functions]


Detailed Description

The rtCmpToStdout<type> functions do the same actions as the rtCmp<type> ones, but they print the comparison results to stdout instead of putting it into the buffer. The prototypes of these functions are almost the same as for the rtCmp<type> except the last two parameters - they re absent in the rtCmpToStdout<type> functions.


Functions

ASN1BOOL rtCmpToStdoutBoolean (ASN1ConstCharPtr name, ASN1BOOL value, ASN1BOOL compValue)
ASN1BOOL rtCmpToStdoutInteger (ASN1ConstCharPtr name, ASN1INT value, ASN1INT compValue)
ASN1BOOL rtCmpToStdoutInt64 (ASN1ConstCharPtr name, ASN1INT64 value, ASN1INT64 compValue)
ASN1BOOL rtCmpToStdoutUnsigned (ASN1ConstCharPtr name, ASN1UINT value, ASN1UINT compValue)
ASN1BOOL rtCmpToStdoutUInt64 (ASN1ConstCharPtr name, ASN1UINT64 value, ASN1UINT64 compValue)
ASN1BOOL rtCmpToStdoutBitStr (ASN1ConstCharPtr name, ASN1UINT numbits, ASN1ConstOctetPtr data, ASN1UINT compNumbits, ASN1ConstOctetPtr compData)
ASN1BOOL rtCmpToStdoutOctStr (ASN1ConstCharPtr name, ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1UINT compNumocts, ASN1ConstOctetPtr compData)
ASN1BOOL rtCmpToStdoutCharStr (ASN1ConstCharPtr name, ASN1ConstCharPtr cstring, ASN1ConstCharPtr compCstring)
ASN1BOOL rtCmpToStdout16BitCharStr (ASN1ConstCharPtr name, Asn116BitCharString *bstring, Asn116BitCharString *compBstring)
ASN1BOOL rtCmpToStdout32BitCharStr (ASN1ConstCharPtr name, Asn132BitCharString *bstring, Asn132BitCharString *compBstring)
ASN1BOOL rtCmpToStdoutReal (ASN1ConstCharPtr name, ASN1REAL value, ASN1REAL compValue)
ASN1BOOL rtCmpToStdoutOID (ASN1ConstCharPtr name, ASN1OBJID *pOID, ASN1OBJID *pcompOID)
ASN1BOOL rtCmpToStdoutOIDValue (ASN1ConstCharPtr name, ASN1OBJID *pOID, ASN1OBJID *pcompOID)
ASN1BOOL rtCmpToStdoutOID64 (ASN1ConstCharPtr name, ASN1OID64 *pOID, ASN1OID64 *pcompOID)
ASN1BOOL rtCmpToStdoutOID64Value (ASN1ConstCharPtr name, ASN1OID64 *pOID, ASN1OID64 *pcompOID)
ASN1BOOL rtCmpToStdoutOpenType (ASN1ConstCharPtr name, ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1UINT compNumocts, ASN1ConstOctetPtr compData)
ASN1BOOL rtCmpToStdoutOpenTypeExt (ASN1ConstCharPtr name, Asn1RTDList *pElemList, Asn1RTDList *pCompElemList)
ASN1BOOL rtCmpToStdoutTag (ASN1ConstCharPtr name, int tag, int compTag)
ASN1BOOL rtCmpToStdoutSeqOfElements (ASN1ConstCharPtr name, int noOfElems, int compNoOfElems)
ASN1BOOL rtCmpToStdoutOptional (ASN1ConstCharPtr name, unsigned presentBit, unsigned compPresentBit)


Function Documentation

ASN1BOOL rtCmpToStdout16BitCharStr ASN1ConstCharPtr  name,
Asn116BitCharString *  bstring,
Asn116BitCharString *  compBstring
 

Parameters:
name The name of value.
bstring The first value to compare.
compBstring The second value to compare.

ASN1BOOL rtCmpToStdout32BitCharStr ASN1ConstCharPtr  name,
Asn132BitCharString *  bstring,
Asn132BitCharString *  compBstring
 

Parameters:
name The name of value.
bstring The first value to compare.
compBstring The second value to compare.

ASN1BOOL rtCmpToStdoutBitStr ASN1ConstCharPtr  name,
ASN1UINT  numbits,
ASN1ConstOctetPtr  data,
ASN1UINT  compNumbits,
ASN1ConstOctetPtr  compData
 

Parameters:
name The name of value.
numbits The first value to compare.
data The pointer to the first value.
compNumbits The second value to compare.
compData The pointer to the second value.

ASN1BOOL rtCmpToStdoutBoolean ASN1ConstCharPtr  name,
ASN1BOOL  value,
ASN1BOOL  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.

ASN1BOOL rtCmpToStdoutCharStr ASN1ConstCharPtr  name,
ASN1ConstCharPtr  cstring,
ASN1ConstCharPtr  compCstring
 

Parameters:
name The name of value.
cstring The first value to compare.
compCstring The second value to compare.

ASN1BOOL rtCmpToStdoutInt64 ASN1ConstCharPtr  name,
ASN1INT64  value,
ASN1INT64  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.

ASN1BOOL rtCmpToStdoutInteger ASN1ConstCharPtr  name,
ASN1INT  value,
ASN1INT  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.

ASN1BOOL rtCmpToStdoutOctStr ASN1ConstCharPtr  name,
ASN1UINT  numocts,
ASN1ConstOctetPtr  data,
ASN1UINT  compNumocts,
ASN1ConstOctetPtr  compData
 

Parameters:
name The name of value.
numocts The first value to compare.
data The pointer to the data of the first value.
compNumocts The second value to compare.
compData The pointer to the data of the second value.

ASN1BOOL rtCmpToStdoutOID ASN1ConstCharPtr  name,
ASN1OBJID *  pOID,
ASN1OBJID *  pcompOID
 

Parameters:
name The name of value.
pOID The first value to compare.
pcompOID The second value to compare.

ASN1BOOL rtCmpToStdoutOID64 ASN1ConstCharPtr  name,
ASN1OID64 *  pOID,
ASN1OID64 *  pcompOID
 

Parameters:
name The name of value.
pOID The first value to compare.
pcompOID The second value to compare.

ASN1BOOL rtCmpToStdoutOID64Value ASN1ConstCharPtr  name,
ASN1OID64 *  pOID,
ASN1OID64 *  pcompOID
 

Parameters:
name The name of value.
pOID The first value to compare.
pcompOID The second value to compare.

ASN1BOOL rtCmpToStdoutOIDValue ASN1ConstCharPtr  name,
ASN1OBJID *  pOID,
ASN1OBJID *  pcompOID
 

Parameters:
name The name of value.
pOID The first value to compare.
pcompOID The second value to compare.

ASN1BOOL rtCmpToStdoutOpenType ASN1ConstCharPtr  name,
ASN1UINT  numocts,
ASN1ConstOctetPtr  data,
ASN1UINT  compNumocts,
ASN1ConstOctetPtr  compData
 

Parameters:
name The name of value.
numocts The number of octets in the first value to compare.
data The pointer to the data in the frist value to compare.
compNumocts The number of octets in the second value to compare.
compData The pointer to the data in the second value to compare.

ASN1BOOL rtCmpToStdoutOpenTypeExt ASN1ConstCharPtr  name,
Asn1RTDList *  pElemList,
Asn1RTDList *  pCompElemList
 

Parameters:
name The name of value.
pElemList The first value to compare.
pCompElemList The second value to compare.

ASN1BOOL rtCmpToStdoutOptional ASN1ConstCharPtr  name,
unsigned  presentBit,
unsigned  compPresentBit
 

Parameters:
name The name of value.
presentBit The first value to compare.
compPresentBit The second value to compare.

ASN1BOOL rtCmpToStdoutReal ASN1ConstCharPtr  name,
ASN1REAL  value,
ASN1REAL  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.

ASN1BOOL rtCmpToStdoutSeqOfElements ASN1ConstCharPtr  name,
int  noOfElems,
int  compNoOfElems
 

Parameters:
name The name of value.
noOfElems The first value to compare.
compNoOfElems The second value to compare.

ASN1BOOL rtCmpToStdoutTag ASN1ConstCharPtr  name,
int  tag,
int  compTag
 

Parameters:
name The name of value.
tag The first value to compare.
compTag The second value to compare.

ASN1BOOL rtCmpToStdoutUInt64 ASN1ConstCharPtr  name,
ASN1UINT64  value,
ASN1UINT64  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.

ASN1BOOL rtCmpToStdoutUnsigned ASN1ConstCharPtr  name,
ASN1UINT  value,
ASN1UINT  compValue
 

Parameters:
name The name of value.
value The first value to compare.
compValue The second value to compare.


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