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

Google


Objective Systems, Inc.

rtCompare.h

Go to the documentation of this file.
00001 /* 00002 * Copyright (C) 1997-2004 by Objective Systems, Inc. 00003 * 00004 * This software is furnished under a license and may be used and copied 00005 * only in accordance with the terms of such license and with the 00006 * inclusion of the above copyright notice. This software or any other 00007 * copies thereof may not be provided or otherwise made available to any 00008 * other person. No title to and ownership of the software is hereby 00009 * transferred. 00010 * 00011 * The information in this software is subject to change without notice 00012 * and should not be construed as a commitment by Objective Systems, Inc. 00013 * 00014 * PROPRIETARY NOTICE 00015 * 00016 * This software is an unpublished work subject to a confidentiality agreement 00017 * and is protected by copyright and trade secret law. Unauthorized copying, 00018 * redistribution or other use of this work is prohibited. 00019 * 00020 * The above notice of copyright on this source code product does not indicate 00021 * any actual or intended publication of such source code. 00022 * 00023 *****************************************************************************/ 00024 00030 #ifndef _RTCOMPARE_H_ 00031 #define _RTCOMPARE_H_ 00032 #include "asn1type.h" 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif 00037 00052 /* Compare function to Buffer */ 00053 00070 EXTERNRT ASN1BOOL rtCmpBoolean (ASN1ConstCharPtr name, ASN1BOOL value, 00071 ASN1BOOL compValue, char* errBuff, 00072 int errBuffSize); 00073 00074 EXTERNRT ASN1BOOL rtCmpInt8 (ASN1ConstCharPtr name, ASN1INT8 value, 00075 ASN1INT8 compValue, char* errBuff, 00076 int errBuffSize); 00077 00078 EXTERNRT ASN1BOOL rtCmpSInt (ASN1ConstCharPtr name, ASN1SINT value, 00079 ASN1SINT compValue, char* errBuff, 00080 int errBuffSize); 00081 00082 EXTERNRT ASN1BOOL rtCmpUInt8 (ASN1ConstCharPtr name, ASN1UINT8 value, 00083 ASN1UINT8 compValue, char* errBuff, 00084 int errBuffSize); 00085 00086 EXTERNRT ASN1BOOL rtCmpUSInt (ASN1ConstCharPtr name, ASN1USINT value, 00087 ASN1USINT compValue, char* errBuff, 00088 int errBuffSize); 00089 00105 EXTERNRT ASN1BOOL rtCmpInteger (ASN1ConstCharPtr name, ASN1INT value, 00106 ASN1INT compValue, char* errBuff, 00107 int errBuffSize); 00108 00124 EXTERNRT ASN1BOOL rtCmpUnsigned (ASN1ConstCharPtr name, ASN1UINT value, 00125 ASN1UINT compValue, char* errBuff, 00126 int errBuffSize); 00127 00143 EXTERNRT ASN1BOOL rtCmpInt64 (ASN1ConstCharPtr name, ASN1INT64 value, 00144 ASN1INT64 compValue, char* errBuff, 00145 int errBuffSize); 00146 00162 EXTERNRT ASN1BOOL rtCmpUInt64 (ASN1ConstCharPtr name, ASN1UINT64 value, 00163 ASN1UINT64 compValue, char* errBuff, 00164 int errBuffSize); 00165 00183 EXTERNRT ASN1BOOL rtCmpBitStr (ASN1ConstCharPtr name, ASN1UINT numbits, 00184 ASN1ConstOctetPtr data, ASN1UINT compNumbits, 00185 ASN1ConstOctetPtr compData, char* errBuff, 00186 int errBuffSize); 00187 00205 EXTERNRT ASN1BOOL rtCmpOctStr (ASN1ConstCharPtr name, ASN1UINT numocts, 00206 ASN1ConstOctetPtr data, ASN1UINT compNumocts, 00207 ASN1ConstOctetPtr compData, char* errBuff, 00208 int errBuffSize); 00209 00226 EXTERNRT ASN1BOOL rtCmpCharStr (ASN1ConstCharPtr name, ASN1ConstCharPtr cstring, 00227 ASN1ConstCharPtr compCstring, char* errBuff, 00228 int errBuffSize); 00229 00248 EXTERNRT ASN1BOOL rtCmp16BitCharStr (ASN1ConstCharPtr name, 00249 Asn116BitCharString* bstring, 00250 Asn116BitCharString* compBstring, 00251 char* errBuff, int errBuffSize); 00252 00271 EXTERNRT ASN1BOOL rtCmp32BitCharStr (ASN1ConstCharPtr name, 00272 Asn132BitCharString* bstring, 00273 Asn132BitCharString* compBstring, 00274 char* errBuff, int errBuffSize); 00275 00291 EXTERNRT ASN1BOOL rtCmpReal (ASN1ConstCharPtr name, ASN1REAL value, 00292 ASN1REAL compValue, char* errBuff, 00293 int errBuffSize); 00294 00311 EXTERNRT ASN1BOOL rtCmpOID (ASN1ConstCharPtr name, ASN1OBJID* pOID, 00312 ASN1OBJID* pcompOID, char* errBuff, 00313 int errBuffSize); 00314 EXTERNRT ASN1BOOL rtCmpOIDValue (ASN1ConstCharPtr name, ASN1OBJID* pOID, 00315 ASN1OBJID* pcompOID, char* errBuff, 00316 int errBuffSize); 00317 00334 EXTERNRT ASN1BOOL rtCmpOID64 (ASN1ConstCharPtr name, ASN1OID64* pOID, 00335 ASN1OID64* pcompOID, char* errBuff, 00336 int errBuffSize); 00337 EXTERNRT ASN1BOOL rtCmpOID64Value (ASN1ConstCharPtr name, ASN1OID64* pOID, 00338 ASN1OID64* pcompOID, char* errBuff, 00339 int errBuffSize); 00340 00361 EXTERNRT ASN1BOOL rtCmpOpenType (ASN1ConstCharPtr name, 00362 ASN1UINT numocts, ASN1ConstOctetPtr data, 00363 ASN1UINT compNumocts, ASN1ConstOctetPtr compData, 00364 char* errBuff, int errBuffSize); 00365 00390 EXTERNRT ASN1BOOL rtCmpOpenTypeExt (ASN1ConstCharPtr name, 00391 Asn1RTDList* pElemList, 00392 Asn1RTDList* pCompElemList, 00393 char* errBuff, int errBuffSize); 00394 EXTERNRT ASN1BOOL rtCmpTag (ASN1ConstCharPtr name, int tag, int compTag, 00395 char* errBuff, int errBuffSize); 00396 EXTERNRT ASN1BOOL rtCmpSeqOfElements (ASN1ConstCharPtr name, int noOfElems, 00397 int compNoOfElems, char* errBuff, 00398 int errBuffSize); 00399 EXTERNRT ASN1BOOL rtCmpOptional (ASN1ConstCharPtr name, unsigned presentBit, 00400 unsigned compPresentBit, char* errBuff, 00401 int errBuffSize); 00406 /* Compare function To StdOut */ 00407 00424 EXTERNRT ASN1BOOL rtCmpToStdoutBoolean (ASN1ConstCharPtr name, ASN1BOOL value, 00425 ASN1BOOL compValue); 00426 00432 EXTERNRT ASN1BOOL rtCmpToStdoutInteger (ASN1ConstCharPtr name, ASN1INT value, 00433 ASN1INT compValue); 00434 00440 EXTERNRT ASN1BOOL rtCmpToStdoutInt64 (ASN1ConstCharPtr name, ASN1INT64 value, 00441 ASN1INT64 compValue); 00442 00448 EXTERNRT ASN1BOOL rtCmpToStdoutUnsigned (ASN1ConstCharPtr name, ASN1UINT value, 00449 ASN1UINT compValue); 00450 00456 EXTERNRT ASN1BOOL rtCmpToStdoutUInt64 (ASN1ConstCharPtr name, ASN1UINT64 value, 00457 ASN1UINT64 compValue); 00458 00466 EXTERNRT ASN1BOOL rtCmpToStdoutBitStr (ASN1ConstCharPtr name, ASN1UINT numbits, 00467 ASN1ConstOctetPtr data, 00468 ASN1UINT compNumbits, 00469 ASN1ConstOctetPtr compData); 00477 EXTERNRT ASN1BOOL rtCmpToStdoutOctStr (ASN1ConstCharPtr name, ASN1UINT numocts, 00478 ASN1ConstOctetPtr data, 00479 ASN1UINT compNumocts, 00480 ASN1ConstOctetPtr compData); 00486 EXTERNRT ASN1BOOL rtCmpToStdoutCharStr (ASN1ConstCharPtr name, 00487 ASN1ConstCharPtr cstring, 00488 ASN1ConstCharPtr compCstring); 00494 EXTERNRT ASN1BOOL rtCmpToStdout16BitCharStr (ASN1ConstCharPtr name, 00495 Asn116BitCharString* bstring, 00496 Asn116BitCharString* compBstring); 00502 EXTERNRT ASN1BOOL rtCmpToStdout32BitCharStr (ASN1ConstCharPtr name, 00503 Asn132BitCharString* bstring, 00504 Asn132BitCharString* compBstring); 00510 EXTERNRT ASN1BOOL rtCmpToStdoutReal (ASN1ConstCharPtr name, 00511 ASN1REAL value, ASN1REAL compValue); 00517 EXTERNRT ASN1BOOL rtCmpToStdoutOID (ASN1ConstCharPtr name, 00518 ASN1OBJID* pOID, ASN1OBJID* pcompOID); 00524 EXTERNRT ASN1BOOL rtCmpToStdoutOIDValue (ASN1ConstCharPtr name, 00525 ASN1OBJID* pOID, ASN1OBJID* pcompOID); 00531 EXTERNRT ASN1BOOL rtCmpToStdoutOID64 (ASN1ConstCharPtr name, 00532 ASN1OID64* pOID, ASN1OID64* pcompOID); 00538 EXTERNRT ASN1BOOL rtCmpToStdoutOID64Value (ASN1ConstCharPtr name, 00539 ASN1OID64* pOID, 00540 ASN1OID64* pcompOID); 00548 EXTERNRT ASN1BOOL rtCmpToStdoutOpenType (ASN1ConstCharPtr name, 00549 ASN1UINT numocts, 00550 ASN1ConstOctetPtr data, 00551 ASN1UINT compNumocts, 00552 ASN1ConstOctetPtr compData); 00557 EXTERNRT ASN1BOOL rtCmpToStdoutOpenTypeExt (ASN1ConstCharPtr name, 00558 Asn1RTDList* pElemList, 00559 Asn1RTDList* pCompElemList); 00564 EXTERNRT ASN1BOOL rtCmpToStdoutTag (ASN1ConstCharPtr name, int tag, 00565 int compTag); 00571 EXTERNRT ASN1BOOL rtCmpToStdoutSeqOfElements (ASN1ConstCharPtr name, 00572 int noOfElems, 00573 int compNoOfElems); 00579 EXTERNRT ASN1BOOL rtCmpToStdoutOptional (ASN1ConstCharPtr name, 00580 unsigned presentBit, 00581 unsigned compPresentBit); 00587 #ifdef __cplusplus 00588 } 00589 #endif 00590 #endif 00591

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