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
00075 EXTERNRT OSBOOL rtCmpInt8 (const char* name, OSINT8 value,
00076 OSINT8 compValue, char* errBuff,
00077 OSSIZE errBuffSize);
00078
00079 EXTERNRT OSBOOL rtCmpSInt (const char* name, OSINT16 value,
00080 OSINT16 compValue, char* errBuff,
00081 OSSIZE errBuffSize);
00082
00083 EXTERNRT OSBOOL rtCmpUInt8 (const char* name, OSUINT8 value,
00084 OSUINT8 compValue, char* errBuff,
00085 OSSIZE errBuffSize);
00086
00087 EXTERNRT OSBOOL rtCmpUSInt (const char* name, OSUINT16 value,
00088 OSUINT16 compValue, char* errBuff,
00089 OSSIZE errBuffSize);
00090
00106 EXTERNRT OSBOOL rtCmpInteger (const char* name, OSINT32 value,
00107 OSINT32 compValue, char* errBuff,
00108 OSSIZE errBuffSize);
00109
00125 EXTERNRT OSBOOL rtCmpUnsigned (const char* name, OSUINT32 value,
00126 OSUINT32 compValue, char* errBuff,
00127 OSSIZE errBuffSize);
00128
00144 EXTERNRT OSBOOL rtCmpInt64 (const char* name, OSINT64 value,
00145 OSINT64 compValue, char* errBuff,
00146 OSSIZE errBuffSize);
00147
00163 EXTERNRT OSBOOL rtCmpUInt64 (const char* name, OSUINT64 value,
00164 OSUINT64 compValue, char* errBuff,
00165 OSSIZE errBuffSize);
00166
00184 EXTERNRT OSBOOL rtCmpBitStr (const char* name, OSSIZE numbits,
00185 const OSOCTET* data, OSSIZE compNumbits,
00186 const OSOCTET* compData, char* errBuff,
00187 OSSIZE errBuffSize);
00188
00206 EXTERNRT OSBOOL rtCmpOctStr (const char* name, OSSIZE numocts,
00207 const OSOCTET* data, OSSIZE compNumocts,
00208 const OSOCTET* compData, char* errBuff,
00209 OSSIZE errBuffSize);
00210
00227 EXTERNRT OSBOOL rtCmpCharStr (const char* name, const char* cstring,
00228 const char* compCstring, char* errBuff,
00229 OSSIZE errBuffSize);
00230
00249 EXTERNRT OSBOOL rtCmp16BitCharStr (const char* name,
00250 Asn116BitCharString* bstring,
00251 Asn116BitCharString* compBstring,
00252 char* errBuff, OSSIZE errBuffSize);
00253
00272 EXTERNRT OSBOOL rtCmp32BitCharStr (const char* name,
00273 Asn132BitCharString* bstring,
00274 Asn132BitCharString* compBstring,
00275 char* errBuff, OSSIZE errBuffSize);
00276
00292 EXTERNRT OSBOOL rtCmpReal (const char* name, OSREAL value,
00293 OSREAL compValue, char* errBuff,
00294 OSSIZE errBuffSize);
00295
00312 EXTERNRT OSBOOL rtCmpOID (const char* name, ASN1OBJID* pOID,
00313 ASN1OBJID* pcompOID, char* errBuff,
00314 OSSIZE errBuffSize);
00315 EXTERNRT OSBOOL rtCmpOIDValue (const char* name, ASN1OBJID* pOID,
00316 ASN1OBJID* pcompOID, char* errBuff,
00317 OSSIZE errBuffSize);
00318
00335 EXTERNRT OSBOOL rtCmpOID64 (const char* name, ASN1OID64* pOID,
00336 ASN1OID64* pcompOID, char* errBuff,
00337 OSSIZE errBuffSize);
00338 EXTERNRT OSBOOL rtCmpOID64Value (const char* name, ASN1OID64* pOID,
00339 ASN1OID64* pcompOID, char* errBuff,
00340 OSSIZE errBuffSize);
00341
00362 EXTERNRT OSBOOL rtCmpOpenType (const char* name,
00363 OSSIZE numocts, const OSOCTET* data,
00364 OSSIZE compNumocts, const OSOCTET* compData,
00365 char* errBuff, OSSIZE errBuffSize);
00366
00391 EXTERNRT OSBOOL rtCmpOpenTypeExt (const char* name,
00392 OSRTDList* pElemList,
00393 OSRTDList* pCompElemList,
00394 char* errBuff, OSSIZE errBuffSize);
00395
00396 EXTERNRT OSBOOL rtCmpTag (const char* name, int tag, int compTag,
00397 char* errBuff, OSSIZE errBuffSize);
00398
00399 EXTERNRT OSBOOL rtCmpSeqOfElements (const char* name, OSSIZE noOfElems,
00400 OSSIZE compNoOfElems, char* errBuff,
00401 OSSIZE errBuffSize);
00402
00403 EXTERNRT OSBOOL rtCmpOptional (const char* name, unsigned presentBit,
00404 unsigned compPresentBit, char* errBuff,
00405 OSSIZE errBuffSize);
00410
00411
00428 EXTERNRT OSBOOL rtCmpToStdoutBoolean (const char* name, OSBOOL value,
00429 OSBOOL compValue);
00430
00436 EXTERNRT OSBOOL rtCmpToStdoutInteger (const char* name, OSINT32 value,
00437 OSINT32 compValue);
00438
00444 EXTERNRT OSBOOL rtCmpToStdoutInt64 (const char* name, OSINT64 value,
00445 OSINT64 compValue);
00446
00452 EXTERNRT OSBOOL rtCmpToStdoutUnsigned (const char* name, OSUINT32 value,
00453 OSUINT32 compValue);
00454
00460 EXTERNRT OSBOOL rtCmpToStdoutUInt64 (const char* name, OSUINT64 value,
00461 OSUINT64 compValue);
00462
00470 EXTERNRT OSBOOL rtCmpToStdoutBitStr (const char* name, OSSIZE numbits,
00471 const OSOCTET* data,
00472 OSSIZE compNumbits,
00473 const OSOCTET* compData);
00481 EXTERNRT OSBOOL rtCmpToStdoutOctStr (const char* name, OSSIZE numocts,
00482 const OSOCTET* data,
00483 OSSIZE compNumocts,
00484 const OSOCTET* compData);
00490 EXTERNRT OSBOOL rtCmpToStdoutCharStr (const char* name,
00491 const char* cstring,
00492 const char* compCstring);
00498 EXTERNRT OSBOOL rtCmpToStdout16BitCharStr (const char* name,
00499 Asn116BitCharString* bstring,
00500 Asn116BitCharString* compBstring);
00506 EXTERNRT OSBOOL rtCmpToStdout32BitCharStr (const char* name,
00507 Asn132BitCharString* bstring,
00508 Asn132BitCharString* compBstring);
00514 EXTERNRT OSBOOL rtCmpToStdoutReal (const char* name,
00515 OSREAL value, OSREAL compValue);
00521 EXTERNRT OSBOOL rtCmpToStdoutOID (const char* name,
00522 ASN1OBJID* pOID, ASN1OBJID* pcompOID);
00528 EXTERNRT OSBOOL rtCmpToStdoutOIDValue (const char* name,
00529 ASN1OBJID* pOID, ASN1OBJID* pcompOID);
00535 EXTERNRT OSBOOL rtCmpToStdoutOID64 (const char* name,
00536 ASN1OID64* pOID, ASN1OID64* pcompOID);
00542 EXTERNRT OSBOOL rtCmpToStdoutOID64Value (const char* name,
00543 ASN1OID64* pOID,
00544 ASN1OID64* pcompOID);
00552 EXTERNRT OSBOOL rtCmpToStdoutOpenType (const char* name,
00553 OSSIZE numocts,
00554 const OSOCTET* data,
00555 OSSIZE compNumocts,
00556 const OSOCTET* compData);
00562 EXTERNRT OSBOOL rtCmpToStdoutOpenTypeExt (const char* name,
00563 OSRTDList* pElemList,
00564 OSRTDList* pCompElemList);
00570 EXTERNRT OSBOOL rtCmpToStdoutTag (const char* name, int tag,
00571 int compTag);
00577 EXTERNRT OSBOOL rtCmpToStdoutSeqOfElements (const char* name,
00578 OSSIZE noOfElems,
00579 OSSIZE compNoOfElems);
00585 EXTERNRT OSBOOL rtCmpToStdoutOptional (const char* name,
00586 unsigned presentBit,
00587 unsigned compPresentBit);
00593 #ifdef __cplusplus
00594 }
00595 #endif
00596 #endif
00597