ASN1C C/C++ Common Runtime  ASN1C v7.3.x
rtxPrint.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2003-2019 Objective Systems, Inc.
3  *
4  * This software is furnished under a license and may be used and copied
5  * only in accordance with the terms of such license and with the
6  * inclusion of the above copyright notice. This software or any other
7  * copies thereof may not be provided or otherwise made available to any
8  * other person. No title to and ownership of the software is hereby
9  * transferred.
10  *
11  * The information in this software is subject to change without notice
12  * and should not be construed as a commitment by Objective Systems, Inc.
13  *
14  * PROPRIETARY NOTICE
15  *
16  * This software is an unpublished work subject to a confidentiality agreement
17  * and is protected by copyright and trade secret law. Unauthorized copying,
18  * redistribution or other use of this work is prohibited.
19  *
20  * The above notice of copyright on this source code product does not indicate
21  * any actual or intended publication of such source code.
22  *
23  *****************************************************************************/
27 #ifndef _RTXPRINT_H_
28 #define _RTXPRINT_H_
29 
30 #include <stdio.h>
31 #include "rtxsrc/rtxContext.h"
32 
33 #define OSRTINDENTSPACES 3 /* number of spaces for indent */
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /* Run-time print utility functions */
40 
55 EXTERNRT void rtxPrintBoolean (const char* name, OSBOOL value);
56 
64 EXTERNRT void rtxPrintDate
65  (const char* name, const OSNumDateTime *pvalue);
66 
74 EXTERNRT void rtxPrintTime
75  (const char* name, const OSNumDateTime *pvalue);
76 
84 EXTERNRT void rtxPrintDateTime
85  (const char* name, const OSNumDateTime *pvalue);
86 
87 EXTERNRT void rtxPrintGYear
88  (const char* name, const OSNumDateTime* pvalue);
89 
90 EXTERNRT void rtxPrintGYearMonth
91  (const char* name, const OSNumDateTime* pvalue);
92 
93 EXTERNRT void rtxPrintGMonth
94  (const char* name, const OSNumDateTime* pvalue);
95 
96 EXTERNRT void rtxPrintGMonthDay
97  (const char* name, const OSNumDateTime* pvalue);
98 
99 EXTERNRT void rtxPrintGDay
100  (const char* name, const OSNumDateTime* pvalue);
101 
108 EXTERNRT void rtxPrintInteger (const char* name, OSINT32 value);
109 
116 EXTERNRT void rtxPrintInt64 (const char* name, OSINT64 value);
117 
124 EXTERNRT void rtxPrintUnsigned (const char* name, OSUINT32 value);
125 
132 EXTERNRT void rtxPrintUInt64 (const char* name, OSUINT64 value);
133 
144 EXTERNRT void rtxPrintHexStr
145 (const char* name, OSSIZE numocts, const OSOCTET* data);
146 
156 EXTERNRT void rtxPrintHexStrPlain
157 (const char* name, OSSIZE numocts, const OSOCTET* data);
158 
168 EXTERNRT void rtxPrintHexStrNoAscii
169 (const char* name, OSSIZE numocts, const OSOCTET* data);
170 
178 EXTERNRT void rtxPrintHexBinary
179 (const char* name, OSSIZE numocts, const OSOCTET* data);
180 
187 EXTERNRT void rtxPrintCharStr (const char* name, const char* cstring);
188 
195 EXTERNRT void rtxPrintUTF8CharStr
196 (const char* name, const OSUTF8CHAR* cstring);
197 
211 EXTERNRT void rtxPrintUnicodeCharStr
212 (const char* name, const OSUNICHAR* str, int nchars);
213 
214 EXTERNRT void rtxPrintUnicodeCharStr64
215 (const char* name, const OSUNICHAR* str, OSSIZE nchars);
216 
223 EXTERNRT void rtxPrintReal (const char* name, OSREAL value);
224 
230 EXTERNRT void rtxPrintNull (const char* name);
231 
238 EXTERNRT void rtxPrintNVP (const char* name, const OSUTF8NVP* value);
239 
246 EXTERNRT int rtxPrintFile (const char* filename);
247 
248 #ifndef __SYMBIAN32__
249 
253 EXTERNRT void rtxPrintIndent (OSVOIDARG);
254 
258 EXTERNRT void rtxPrintIncrIndent (OSVOIDARG);
259 
263 EXTERNRT void rtxPrintDecrIndent (OSVOIDARG);
264 
269 EXTERNRT void rtxPrintCloseBrace (OSVOIDARG);
270 
275 EXTERNRT void rtxPrintOpenBrace (const char*);
276 
277 #endif
278 
282 #ifdef __cplusplus
283 }
284 #endif
285 
286 #include "rtxsrc/rtxHexDump.h"
287 
288 #endif
void rtxPrintCharStr(const char *name, const char *cstring)
void rtxPrintCloseBrace(OSVOIDARG)
void rtxPrintUTF8CharStr(const char *name, const OSUTF8CHAR *cstring)
void rtxPrintHexStrNoAscii(const char *name, OSSIZE numocts, const OSOCTET *data)
void rtxPrintDateTime(const char *name, const OSNumDateTime *pvalue)
void rtxPrintNull(const char *name)
void rtxPrintInt64(const char *name, OSINT64 value)
void rtxPrintInteger(const char *name, OSINT32 value)
void rtxPrintTime(const char *name, const OSNumDateTime *pvalue)
void rtxPrintUnsigned(const char *name, OSUINT32 value)
int rtxPrintFile(const char *filename)
void rtxPrintDate(const char *name, const OSNumDateTime *pvalue)
void rtxPrintHexStrPlain(const char *name, OSSIZE numocts, const OSOCTET *data)
void rtxPrintIncrIndent(OSVOIDARG)
void rtxPrintNVP(const char *name, const OSUTF8NVP *value)
void rtxPrintReal(const char *name, OSREAL value)
void rtxPrintDecrIndent(OSVOIDARG)
void rtxPrintUInt64(const char *name, OSUINT64 value)
void rtxPrintHexBinary(const char *name, OSSIZE numocts, const OSOCTET *data)
void rtxPrintUnicodeCharStr(const char *name, const OSUNICHAR *str, int nchars)
void rtxPrintBoolean(const char *name, OSBOOL value)
void rtxPrintIndent(OSVOIDARG)
void rtxPrintOpenBrace(const char *)
void rtxPrintHexStr(const char *name, OSSIZE numocts, const OSOCTET *data)