-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.h
59 lines (44 loc) · 1.71 KB
/
variables.h
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
/* ************************************************************************
*
* global variables
*
* (c) 1994-2012 by Markus Reschke
*
* ************************************************************************ */
/* ************************************************************************
* internal variables
* ************************************************************************ */
/*
* only included by
* - mfreq-index.c
* - mfreq-list.c
* - mfreq-srif.c
*/
#if defined ( MFREQ_INDEX_C ) || defined ( MFREQ_LIST_C ) || defined( MFREQ_SRIF_C )
/* environment */
Env_Type *Env = NULL;
/* string buffers */
char *LogBuffer = NULL; /* for errors/warnings */
char *InBuffer = NULL; /* for file reading */
char *OutBuffer = NULL; /* for file writing */
char *TempBuffer = NULL; /* for misc stuff */
char *TempBuffer2 = NULL; /* for misc stuff */
/* ************************************************************************
* external variables
* ************************************************************************ */
/*
* included by all other source files
*/
#else
/* environment */
extern Env_Type *Env;
/* string buffers */
extern char *LogBuffer;
extern char *InBuffer;
extern char *OutBuffer;
extern char *TempBuffer;
extern char *TempBuffer2;
#endif
/* ************************************************************************
* EOF
* ************************************************************************ */