1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*
* Copyright (C) 1992 by the Massachusetts Institute of Technology
* All rights reserved.
*
* For copying and distribution information, please see the file
* COPYRIGHT.
*/
/*
* Function prototypes for testtrack routines - shared library version
*/
#ifdef __cplusplus
extern "C" {
#endif
#if GENERATINGCFM
#define InitializeMacAthenaLib()
#define TerminateMacAthenaLib()
#if defined(__CFM68K__)
#pragma import on
extern int test_track(char *appl_name, char *appl_vers, Boolean edit_flag,
Boolean do_logging, int check_probability);
extern short GetBSDMacOSError( void );
#pragma import reset
#else
int test_track(char *appl_name, char *appl_vers, Boolean edit_flag,
Boolean do_logging, int check_probability);
short GetBSDMacOSError( void );
#endif /* endif __CFM68K__ */
#else /* else GENERATINGCFM */
typedef int (*test_trackProcPtr) (char *appl_name, char *appl_vers, Boolean edit_flag,
Boolean do_logging, int check_probability);
typedef short (*GetBSDMacOSErrorProcPtr) (void);
extern test_trackProcPtr gtest_trackGlue;
extern GetBSDMacOSErrorProcPtr gGetBSDMacOSErrorGlue;
#define test_track(appl_name, appl_vers, edit_flag, do_logging, check_probability)\
((gtest_trackGlue)(appl_name, appl_vers, edit_flag, do_logging, check_probability))
#define GetBSDMacOSError()\
((gGetBSDMacOSErrorGlue)())
OSErr InializeMacAthenaLib (void);
OSErr TerminateMacAthenaLib (void);
#endif /* endif GENERATINGCFM */
#ifdef __cplusplus
}
#endif
|