00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00027 #ifndef _RTPRINTTOSTRING_H_
00028 #define _RTPRINTTOSTRING_H_
00029 #include <stdio.h>
00030 #include "rtsrc/asn1type.h"
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00055 EXTERNRT int rtPrintToStringBoolean (const char* name, OSBOOL value,
00056 char* buffer, OSSIZE bufferSize);
00057
00068 EXTERNRT int rtPrintToStringInteger (const char* name, OSINT32 value,
00069 char* buffer, OSSIZE bufferSize);
00070
00081 EXTERNRT int rtPrintToStringInt64 (const char* name, OSINT64 value,
00082 char* buffer, OSSIZE bufferSize);
00083
00094 EXTERNRT int rtPrintToStringUnsigned (const char* name, OSUINT32 value,
00095 char* buffer, OSSIZE bufferSize);
00096
00107 EXTERNRT int rtPrintToStringUInt64 (const char* name, OSUINT64 value,
00108 char* buffer, OSSIZE bufferSize);
00109
00119 EXTERNRT int rtPrintToStringBitStr (const char* name,
00120 OSSIZE numbits, const OSOCTET* data, const char* conn,
00121 char* buffer, OSSIZE bufferSize);
00122
00133 EXTERNRT int rtPrintToStringBitStrBraceText
00134 (const char* name, OSSIZE numbits, const OSOCTET* data,
00135 char* buffer, OSSIZE bufferSize);
00136
00146 EXTERNRT int rtPrintToStringOctStr (const char* name,
00147 OSSIZE numocts, const OSOCTET* data, const char* conn,
00148 char* buffer, OSSIZE bufferSize);
00149
00156 EXTERNRT int rtPrintToStringCharStr (const char* name,
00157 const char* cstring, char* buffer, OSSIZE bufferSize);
00158
00165 EXTERNRT int rtPrintToStringUTF8Str (const char *name,
00166 const OSUTF8CHAR *ustring, char *buffer, OSSIZE bufferSize);
00167
00176 EXTERNRT int rtPrintToString16BitCharStr (const char* name,
00177 const Asn116BitCharString* bstring, const char* conn,
00178 char* buffer, OSSIZE bufferSize);
00179
00188 EXTERNRT int rtPrintToString32BitCharStr (const char* name,
00189 const Asn132BitCharString* bstring, const char* conn,
00190 char* buffer, OSSIZE bufferSize);
00191
00202 EXTERNRT int rtPrintToStringReal (const char* name, OSREAL value,
00203 char* buffer, OSSIZE bufferSize);
00204
00211 EXTERNRT int rtPrintToStringOID (const char* name, const ASN1OBJID* pOID,
00212 char* buffer, OSSIZE bufferSize);
00213
00220 EXTERNRT int rtPrintToStringOID64 (const char* name, const ASN1OID64* pOID,
00221 char* buffer, OSSIZE bufferSize);
00222
00228 EXTERNRT int rtPrintToStringOIDValue (const ASN1OBJID* pOID,
00229 char* buffer, OSSIZE bufferSize);
00230
00236 EXTERNRT int rtPrintToStringOID64Value (const ASN1OID64* pOID,
00237 char* buffer, OSSIZE bufferSize);
00238
00248 EXTERNRT int rtPrintToStringOpenType (const char* name,
00249 OSSIZE numocts, const OSOCTET* data, const char* conn,
00250 char* buffer, OSSIZE bufferSize);
00251
00258 EXTERNRT int rtPrintToStringOpenTypeExt (const char* name,
00259 const OSRTDList* pElemList, char* buffer, OSSIZE bufferSize);
00260
00266 EXTERNRT int rtPrintToString
00267 (const char* namebuf, char* buffer, OSSIZE bufSize);
00268
00281 EXTERNRT int rtPrintToStringHexStr
00282 (const char* name, OSSIZE numocts, const OSOCTET* data, char* buffer,
00283 OSSIZE bufSize);
00284
00296 EXTERNRT int rtPrintToStringUnicodeCharStr
00297 (const char* name, const Asn116BitCharString* bstring, char* buffer,
00298 OSSIZE bufSize);
00299
00311 EXTERNRT int rtPrintToStringUnivCharStr (const char* name,
00312 const Asn132BitCharString* bstring, char* buffer, OSSIZE bufSize);
00313
00314 #ifndef __SYMBIAN32__
00315
00324 EXTERNRT int rtPrintToStringOpenTypeExtBraceText
00325 (const char* name, const OSRTDList* pElemList, char* buffer, OSSIZE bufSize);
00326
00332 EXTERNRT int rtPrintToStringIndent (char* buffer, OSSIZE bufSize);
00333
00337 EXTERNRT void rtPrintToStringIncrIndent(OSVOIDARG);
00338
00342 EXTERNRT void rtPrintToStringDecrIndent (OSVOIDARG);
00343
00350 EXTERNRT int rtPrintToStringCloseBrace (char* buffer, OSSIZE bufSize);
00351
00358 EXTERNRT int rtPrintToStringOpenBrace
00359 (const char*, char* buffer, OSSIZE bufSize);
00360
00361 #endif
00362
00366 #ifdef __cplusplus
00367 }
00368 #endif
00369 #endif