00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00029 #ifndef _RTPRINTTOSTRING_H_
00030 #define _RTPRINTTOSTRING_H_
00031 #include <stdio.h>
00032 #include "asn1type.h"
00033
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037
00057 EXTERNRT int rtPrintToStringBoolean (ASN1ConstCharPtr name, ASN1BOOL value,
00058 char* buffer, int bufferSize);
00059
00070 EXTERNRT int rtPrintToStringInteger (ASN1ConstCharPtr name, ASN1INT value,
00071 char* buffer, int bufferSize);
00072
00083 EXTERNRT int rtPrintToStringInt64 (ASN1ConstCharPtr name, ASN1INT64 value,
00084 char* buffer, int bufferSize);
00085
00096 EXTERNRT int rtPrintToStringUnsigned (ASN1ConstCharPtr name, ASN1UINT value,
00097 char* buffer, int bufferSize);
00098
00109 EXTERNRT int rtPrintToStringUInt64 (ASN1ConstCharPtr name, ASN1UINT64 value,
00110 char* buffer, int bufferSize);
00111
00121 EXTERNRT int rtPrintToStringBitStr (ASN1ConstCharPtr name,
00122 ASN1UINT numbits, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn,
00123 char* buffer, int bufferSize);
00124
00134 EXTERNRT int rtPrintToStringOctStr (ASN1ConstCharPtr name,
00135 ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn,
00136 char* buffer, int bufferSize);
00137
00144 EXTERNRT int rtPrintToStringCharStr (ASN1ConstCharPtr name,
00145 ASN1ConstCharPtr cstring, char* buffer, int bufferSize);
00146
00155 EXTERNRT int rtPrintToString16BitCharStr (ASN1ConstCharPtr name,
00156 Asn116BitCharString* bstring, ASN1ConstCharPtr conn,
00157 char* buffer, int bufferSize);
00158
00167 EXTERNRT int rtPrintToString32BitCharStr (ASN1ConstCharPtr name,
00168 Asn132BitCharString* bstring, ASN1ConstCharPtr conn,
00169 char* buffer, int bufferSize);
00170
00181 EXTERNRT int rtPrintToStringReal (ASN1ConstCharPtr name, ASN1REAL value,
00182 char* buffer, int bufferSize);
00183
00190 EXTERNRT int rtPrintToStringOID (ASN1ConstCharPtr name, ASN1OBJID* pOID,
00191 char* buffer, int bufferSize);
00192
00199 EXTERNRT int rtPrintToStringOID64 (ASN1ConstCharPtr name, ASN1OID64* pOID,
00200 char* buffer, int bufferSize);
00201
00208 EXTERNRT int rtPrintToStringOIDValue (ASN1OBJID* pOID,
00209 char* buffer, int bufferIndex, int bufferSize);
00210
00217 EXTERNRT int rtPrintToStringOID64Value (ASN1OID64* pOID,
00218 char* buffer, int bufferIndex, int bufferSize);
00219
00229 EXTERNRT int rtPrintToStringOpenType (ASN1ConstCharPtr name,
00230 ASN1UINT numocts, ASN1ConstOctetPtr data, ASN1ConstCharPtr conn,
00231 char* buffer, int bufferSize);
00232
00239 EXTERNRT int rtPrintToStringOpenTypeExt (ASN1ConstCharPtr name,
00240 Asn1RTDList* pElemList, char* buffer, int bufferSize);
00241
00247 EXTERNRT int rtPrintToString (ASN1ConstCharPtr namebuf,
00248 char* buffer, int bufSize);
00249
00253 #ifdef __cplusplus
00254 }
00255 #endif
00256 #endif