00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00030 #ifndef _RTCOMPARE_H_
00031 #define _RTCOMPARE_H_
00032 #include "asn1type.h"
00033 #include "rtconv.h"
00034
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038
00053
00054
00071 EXTERNRT OSBOOL rtCmpBoolean (const char* name, OSBOOL value,
00072 OSBOOL compValue, char* errBuff,
00073 OSSIZE errBuffSize);
00074
00091 EXTERNRT OSBOOL rtCmpInt8 (const char* name, OSINT8 value,
00092 OSINT8 compValue, char* errBuff,
00093 OSSIZE errBuffSize);
00094
00111 EXTERNRT OSBOOL rtCmpSInt (const char* name, OSINT16 value,
00112 OSINT16 compValue, char* errBuff,
00113 OSSIZE errBuffSize);
00114
00131 EXTERNRT OSBOOL rtCmpUInt8 (const char* name, OSUINT8 value,
00132 OSUINT8 compValue, char* errBuff,
00133 OSSIZE errBuffSize);
00134
00151 EXTERNRT OSBOOL rtCmpUSInt (const char* name, OSUINT16 value,
00152 OSUINT16 compValue, char* errBuff,
00153 OSSIZE errBuffSize);
00154
00170 EXTERNRT OSBOOL rtCmpInteger (const char* name, OSINT32 value,
00171 OSINT32 compValue, char* errBuff,
00172 OSSIZE errBuffSize);
00173
00189 EXTERNRT OSBOOL rtCmpUnsigned (const char* name, OSUINT32 value,
00190 OSUINT32 compValue, char* errBuff,
00191 OSSIZE errBuffSize);
00192
00208 EXTERNRT OSBOOL rtCmpInt64 (const char* name, OSINT64 value,
00209 OSINT64 compValue, char* errBuff,
00210 OSSIZE errBuffSize);
00211
00227 EXTERNRT OSBOOL rtCmpUInt64 (const char* name, OSUINT64 value,
00228 OSUINT64 compValue, char* errBuff,
00229 OSSIZE errBuffSize);
00230
00248 EXTERNRT OSBOOL rtCmpBitStr (const char* name, OSSIZE numbits,
00249 const OSOCTET* data, OSSIZE compNumbits,
00250 const OSOCTET* compData, char* errBuff,
00251 OSSIZE errBuffSize);
00252
00270 EXTERNRT OSBOOL rtCmpOctStr (const char* name, OSSIZE numocts,
00271 const OSOCTET* data, OSSIZE compNumocts,
00272 const OSOCTET* compData, char* errBuff,
00273 OSSIZE errBuffSize);
00274
00291 EXTERNRT OSBOOL rtCmpCharStr (const char* name, const char* cstring,
00292 const char* compCstring, char* errBuff,
00293 OSSIZE errBuffSize);
00294
00313 EXTERNRT OSBOOL rtCmp16BitCharStr (const char* name,
00314 Asn116BitCharString* bstring,
00315 Asn116BitCharString* compBstring,
00316 char* errBuff, OSSIZE errBuffSize);
00317
00336 EXTERNRT OSBOOL rtCmp32BitCharStr (const char* name,
00337 Asn132BitCharString* bstring,
00338 Asn132BitCharString* compBstring,
00339 char* errBuff, OSSIZE errBuffSize);
00340
00356 EXTERNRT OSBOOL rtCmpReal (const char* name, OSREAL value,
00357 OSREAL compValue, char* errBuff,
00358 OSSIZE errBuffSize);
00359
00376 EXTERNRT OSBOOL rtCmpOIDValue (const char* name, ASN1OBJID* pOID,
00377 ASN1OBJID* pcompOID, char* errBuff,
00378 OSSIZE errBuffSize);
00379
00384 #define rtCmpOID rtCmpOIDValue
00385
00402 EXTERNRT OSBOOL rtCmpOID64Value (const char* name, ASN1OID64* pOID,
00403 ASN1OID64* pcompOID, char* errBuff,
00404 OSSIZE errBuffSize);
00405
00410 #define rtCmpOID64 rtCmpOID64Value
00411
00432 EXTERNRT OSBOOL rtCmpOpenType (const char* name,
00433 OSSIZE numocts, const OSOCTET* data,
00434 OSSIZE compNumocts, const OSOCTET* compData,
00435 char* errBuff, OSSIZE errBuffSize);
00436
00461 EXTERNRT OSBOOL rtCmpOpenTypeExt (const char* name,
00462 OSRTDList* pElemList,
00463 OSRTDList* pCompElemList,
00464 char* errBuff, OSSIZE errBuffSize);
00465
00482 EXTERNRT OSBOOL rtCmpTag (const char* name, int tag, int compTag,
00483 char* errBuff, OSSIZE errBuffSize);
00484
00501 EXTERNRT OSBOOL rtCmpSeqOfElements (const char* name, OSSIZE noOfElems,
00502 OSSIZE compNoOfElems, char* errBuff,
00503 OSSIZE errBuffSize);
00504
00521 EXTERNRT OSBOOL rtCmpOptional (const char* name, unsigned presentBit,
00522 unsigned compPresentBit, char* errBuff,
00523 OSSIZE errBuffSize);
00528
00529
00546 EXTERNRT OSBOOL rtCmpToStdoutBoolean (const char* name, OSBOOL value,
00547 OSBOOL compValue);
00548
00554 EXTERNRT OSBOOL rtCmpToStdoutInteger (const char* name, OSINT32 value,
00555 OSINT32 compValue);
00556
00562 EXTERNRT OSBOOL rtCmpToStdoutInt64 (const char* name, OSINT64 value,
00563 OSINT64 compValue);
00564
00570 EXTERNRT OSBOOL rtCmpToStdoutUnsigned (const char* name, OSUINT32 value,
00571 OSUINT32 compValue);
00572
00578 EXTERNRT OSBOOL rtCmpToStdoutUInt64 (const char* name, OSUINT64 value,
00579 OSUINT64 compValue);
00580
00588 EXTERNRT OSBOOL rtCmpToStdoutBitStr (const char* name, OSSIZE numbits,
00589 const OSOCTET* data,
00590 OSSIZE compNumbits,
00591 const OSOCTET* compData);
00599 EXTERNRT OSBOOL rtCmpToStdoutOctStr (const char* name, OSSIZE numocts,
00600 const OSOCTET* data,
00601 OSSIZE compNumocts,
00602 const OSOCTET* compData);
00608 EXTERNRT OSBOOL rtCmpToStdoutCharStr (const char* name,
00609 const char* cstring,
00610 const char* compCstring);
00616 EXTERNRT OSBOOL rtCmpToStdout16BitCharStr (const char* name,
00617 Asn116BitCharString* bstring,
00618 Asn116BitCharString* compBstring);
00624 EXTERNRT OSBOOL rtCmpToStdout32BitCharStr (const char* name,
00625 Asn132BitCharString* bstring,
00626 Asn132BitCharString* compBstring);
00632 EXTERNRT OSBOOL rtCmpToStdoutReal (const char* name,
00633 OSREAL value, OSREAL compValue);
00639 EXTERNRT OSBOOL rtCmpToStdoutOID (const char* name,
00640 ASN1OBJID* pOID, ASN1OBJID* pcompOID);
00646 EXTERNRT OSBOOL rtCmpToStdoutOIDValue (const char* name,
00647 ASN1OBJID* pOID, ASN1OBJID* pcompOID);
00653 EXTERNRT OSBOOL rtCmpToStdoutOID64 (const char* name,
00654 ASN1OID64* pOID, ASN1OID64* pcompOID);
00660 EXTERNRT OSBOOL rtCmpToStdoutOID64Value (const char* name,
00661 ASN1OID64* pOID,
00662 ASN1OID64* pcompOID);
00670 EXTERNRT OSBOOL rtCmpToStdoutOpenType (const char* name,
00671 OSSIZE numocts,
00672 const OSOCTET* data,
00673 OSSIZE compNumocts,
00674 const OSOCTET* compData);
00680 EXTERNRT OSBOOL rtCmpToStdoutOpenTypeExt (const char* name,
00681 OSRTDList* pElemList,
00682 OSRTDList* pCompElemList);
00688 EXTERNRT OSBOOL rtCmpToStdoutTag (const char* name, int tag,
00689 int compTag);
00695 EXTERNRT OSBOOL rtCmpToStdoutSeqOfElements (const char* name,
00696 OSSIZE noOfElems,
00697 OSSIZE compNoOfElems);
00703 EXTERNRT OSBOOL rtCmpToStdoutOptional (const char* name,
00704 unsigned presentBit,
00705 unsigned compPresentBit);
00711 #ifdef __cplusplus
00712 }
00713 #endif
00714 #endif
00715