ITK Function Reference

(V10000.1.0.60_20160308.00)
tc_util.h
Go to the documentation of this file.
1 /*==============================================================================
2  Copyright (c) 2003-2005 UGS Corporation
3  Unpublished - All Rights Reserved
4  ==============================================================================*/
5 
12 /* */
13 
14 #ifndef TC_UTIL_H
15 #define TC_UTIL_H
16 
20 #include <unidefs.h>
21 
22 #include <fclasses/tc_stdio.h>
23 
24 #include <tc/libtc_exports.h>
25 
36 typedef enum URLFormat_e {
39  HTML,
40  AWC,
41  SHF
42 } urlFormat_t;
43 
44 #ifdef __cplusplus
45 extern "C"{
46 #endif
47 
48 extern TC_API int TC_alloc_fixed_array(
49  int count,
50  int element_size,
51  char*** new_memory
52  );
53 
54 extern TC_API char** TC_pack_strings(
55  int nstrings,
56  char** strings,
57  char*** packed_strings
58  );
59 
60 extern TC_API char** TC_pack_strings_transient(
61  int nstrings,
62  char** strings,
63  char*** packed_strings
64  );
65 
71 extern TC_API void TC_free_strings (
72  char** array
73  );
74 
78 extern TC_API const char* TC_getenv (
79  const char* value
80  );
81 
82 extern TC_API logical isNXManager (void);
83 
84 extern TC_API logical isAPIServer (void);
85 
86 
95 extern TC_API void TC_print_env_vars (
96  FILE* stream,
97  const char* filter,
98  const char* prefix
99  );
100 
104 extern TC_API void TC_print_what_tcupdate (
105  FILE* stream
106  );
107 
111 extern TC_API void TC_print_dll_versions (
112  FILE* stream
113  );
114 
118 extern TC_API void SM_start_logging (void);
119 
120 extern TC_API void SM_report_logging (
121  FILE* stream
122  );
123 
129 extern TC_API char* TCWEB_tag_to_url(
130  tag_t tag
131  );
132 
144 extern TC_API int TC_tag_to_url(
145  tag_t tag,
146  urlFormat_t urlType,
147  char** url
148  );
149 
155 extern TC_API logical TC_isTIEImport(void);
156 
159 #ifdef __cplusplus
160 }
161 #endif
162 
163 #include <tc/libtc_undef.h>
164 
165 #endif