ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
mld
journal
journal.h
Go to the documentation of this file.
1
/*==============================================================================
2
Copyright (c) 2003-2005 UGS Corporation
3
Unpublished - All Rights Reserved
4
==============================================================================*/
5
14
/* */
15
16
#ifndef JOURNAL_INCLUDED
17
#define JOURNAL_INCLUDED
18
19
#include <stdio.h>
20
#include <mld/libmld_exports.h>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
77
MLD_API
void
JOURNAL_routine_start
(
78
const
char
* name
79
);
80
90
MLD_API
int
JOURNAL_set_file_name
(
91
const
char
* file_name
92
);
93
99
MLD_API
int
JOURNAL_set_file_name_from_error_log
(
void
);
100
105
MLD_API
int
JOURNAL_ask_file_name
(
106
char
** file_name
107
);
108
112
MLD_API FILE*
JOURNAL_get_file_fp
(
void
);
113
119
MLD_API
int
JOURNAL_open_file
(
120
const
char
* file_name
121
);
122
126
MLD_API
int
JOURNAL_print_statistics
();
127
131
MLD_API
int
JOURNAL_reset_statistics
();
132
137
MLD_API
int
JOURNAL_close_file
(
void
);
138
145
MLD_API
void
JOURNAL_routine_call
(
void
);
146
153
MLD_API
void
JOURNAL_routine_end
(
void
);
154
165
MLD_API
void
JOURNAL_comment
(
166
const
char
* comment
167
);
168
173
MLD_API
void
JOURNAL_set_journaling
(
174
logical
enable_journaling
175
);
176
182
MLD_API
logical
JOURNAL_is_journaling
(
void
);
183
188
MLD_API
void
JOURNAL_output_argument
(
189
const
char
* name
190
);
191
197
MLD_API
void
JOURNAL_return_value
(
198
int
status
199
);
200
204
MLD_API
void
JOURNAL_nyi_in
(
205
const
void
* in
206
);
207
211
MLD_API
void
JOURNAL_nyi_array_in
(
212
int
length,
213
const
void
* in
214
);
215
219
MLD_API
void
JOURNAL_nyi_out
(
220
const
char
* name,
221
const
void
* out
222
);
223
227
MLD_API
void
JOURNAL_nyi_array_out
(
228
const
char
* name,
229
int
length,
230
const
void
* out
231
);
232
236
MLD_API
void
JOURNAL_integer_in
(
237
int
in
238
);
239
243
MLD_API
void
JOURNAL_double_in
(
244
double
in
245
);
246
250
MLD_API
void
JOURNAL_logical_in
(
251
logical
in
252
);
253
257
MLD_API
void
JOURNAL_char_in
(
258
char
in
259
);
260
264
MLD_API
void
JOURNAL_string_in
(
265
const
char
* in
266
);
267
271
MLD_API
void
JOURNAL_tag_in
(
272
tag_t
in
273
);
274
278
MLD_API
void
JOURNAL_date_in
(
279
date_t
in
280
);
281
285
MLD_API
void
JOURNAL_address_in
(
286
const
void
* in
287
);
288
292
MLD_API
void
JOURNAL_integer_array_in
(
293
int
length,
294
const
int
* array
295
);
296
300
MLD_API
void
JOURNAL_double_array_in
(
301
int
length,
302
const
double
* array
303
);
304
308
MLD_API
void
JOURNAL_logical_array_in
(
309
int
length,
310
const
logical
* array
311
);
312
316
MLD_API
void
JOURNAL_char_array_in
(
317
int
length,
318
const
char
* array
319
);
320
324
MLD_API
void
JOURNAL_string_array_in
(
325
int
length,
326
const
char
*
const
* array
327
);
328
332
MLD_API
void
JOURNAL_tag_array_in
(
333
int
length,
334
const
tag_t
* array
335
);
336
340
MLD_API
void
JOURNAL_date_array_in
(
341
int
length,
342
const
date_t
* array
343
);
344
348
MLD_API
void
JOURNAL_integer_out
(
349
const
char
* name,
350
int
out
351
);
352
356
MLD_API
void
JOURNAL_double_out
(
357
const
char
* name,
358
double
out
359
);
360
364
MLD_API
void
JOURNAL_logical_out
(
365
const
char
* name,
366
logical
out
367
);
368
372
MLD_API
void
JOURNAL_char_out
(
373
const
char
* name,
374
char
out
375
);
376
380
MLD_API
void
JOURNAL_string_out
(
381
const
char
* name,
382
const
char
* out
383
);
384
388
MLD_API
void
JOURNAL_tag_out
(
389
const
char
* name,
390
tag_t
out
391
);
392
396
MLD_API
void
JOURNAL_date_out
(
397
const
char
* name,
398
date_t
out
399
);
400
404
MLD_API
void
JOURNAL_address_out
(
405
const
char
* name,
406
const
void
* in
407
);
408
412
MLD_API
void
JOURNAL_integer_array_out
(
413
const
char
* name,
414
int
length,
415
const
int
* array
416
);
417
421
MLD_API
void
JOURNAL_double_array_out
(
422
const
char
* name,
423
int
length,
424
const
double
* array
425
);
426
430
MLD_API
void
JOURNAL_logical_array_out
(
431
const
char
* name,
432
int
length,
433
const
logical
* array
434
);
435
439
MLD_API
void
JOURNAL_char_array_out
(
440
const
char
* name,
441
int
length,
442
const
char
* array
443
);
444
448
MLD_API
void
JOURNAL_string_array_out
(
449
const
char
* name,
450
int
length,
451
const
char
*
const
* array
452
);
453
457
MLD_API
void
JOURNAL_tag_array_out
(
458
const
char
* name,
459
int
length,
460
const
tag_t
* array
461
);
462
466
MLD_API
void
JOURNAL_date_array_out
(
467
const
char
* name,
468
int
length,
469
const
date_t
* array
470
);
471
475
MLD_API
void
JOURNAL_flush
(
void
);
476
477
MLD_API
void
JOURNAL_file_to_stream
(
478
int
nbytes,
479
FILE* stream
480
);
481
493
MLD_API
logical
JOURNAL_set_dpat_on
(
494
logical
on_of_off
495
);
496
500
MLD_API
void
JOURNAL_zero_dpat_data
(
void
);
501
506
MLD_API
logical
JOURNAL_dpat_on_or_off
(
void
);
507
512
MLD_API
void
JOURNAL_dpat_report
(
513
FILE* stream
514
);
515
519
MLD_API
int
JOURNAL_ask_call_depth
(
void
);
520
524
MLD_API
int
JOURNAL_ask_sql_count
(
void
);
525
529
MLD_API
void
JOURNAL_decrement_sql_count
(
void
);
530
534
MLD_API
void
JOURNAL_increment_sql_count
(
void
);
535
539
MLD_API
void
JOURNAL_zero_sql_count
(
void
);
540
544
MLD_API
double
JOURNAL_ask_sql_total_time
(
void
);
545
549
MLD_API
void
JOURNAL_add_sql_total_time
(
double
time_taken);
550
554
MLD_API
void
JOURNAL_zero_sql_total_time
(
void
);
555
563
MLD_API
logical
JOURNAL_assert_call_depth
(
564
int
depth
565
);
566
572
MLD_API
logical
JOURNAL_get_routine_stats
(
573
const
char
* routine_name,
574
double
* cpu_time,
575
double
* real_time,
576
int
* trip_count,
577
int
* call_count
578
);
579
580
582
MLD_API
int
JOURNAL_newpjl_get_method_id
(
const
char
* name);
583
MLD_API
int
JOURNAL_newpjl_enter
(
int
id
);
584
MLD_API
void
JOURNAL_newpjl_exit
(
int
serial);
585
MLD_API
void
JOURNAL_newpjl_ip_request
(
const
char
* process,
const
char
* requestName,
const
char
* correlationId);
586
MLD_API
void
JOURNAL_newpjl_ip_response
(
int
responseSize,
int
errCode,
const
char
* correlationId);
587
MLD_API
void
JOURNAL_newpjl_start_correlation_id
(
const
char
* correlationId);
588
MLD_API
void
JOURNAL_newpjl_end_correlation_id
(
const
char
* correlationId);
589
MLD_API
void
JOURNAL_newpjl_record_stat
(
const
char
* name,
const
double
value);
590
MLD_API
void
JOURNAL_newpjl_comment
(
const
char
* comment);
591
MLD_API
int
JOURNAL_newpjl_routine_start
(
int
id
);
593
596
#ifdef __cplusplus
597
}
598
#endif
599
#include <mld/libmld_undef.h>
600
601
#endif
602