ITK Function Reference

(V10000.1.0.60_20160308.00)
custom.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 CUSTOM_H
15 #define CUSTOM_H
16 
17 #include <tccore/libtccore_exports.h>
18 
24 #define NO_CUSTOMIZATION 0
25 #define ONLY_CURRENT_CUSTOMIZATION 1
26 #define ALL_CUSTOMIZATIONS 2
27 #define GM_LIBRARY "libgm"
28 
29 typedef int (* CUSTOM_EXIT_ftn_t) (
30  int*,
31  va_list
32  );
33 
34 #ifdef __cplusplus
35  extern "C"{
36 #endif
37 
52 extern TCCORE_API int CUSTOM_register_callbacks ( void );
53 
68 extern TCCORE_API int CUSTOM_execute_callbacks (
69  int* decision,
71  const char* ftn_name,
73  ...
74  );
75 
79 extern TCCORE_API int CUSTOM_register_exit (
80  const char* context,
82  const char* base_ftn_name,
84  CUSTOM_EXIT_ftn_t custom_ftn
85  );
86 
95 extern TCCORE_API int CUSTOM_execute_callbacks_from_library (
96  int* decision,
98  const char* lib_name,
99  const char* ftn_name,
101  ...
102  );
103 
104 #ifdef __cplusplus
105 }
106 #endif
107 
110 #include <tccore/libtccore_undef.h>
111 
112 #endif