~ubuntu-branches/ubuntu/quantal/psicode/quantal

« back to all changes in this revision

Viewing changes to src/lib/libipv1/ip_global.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2006-09-10 14:01:33 UTC
  • Revision ID: james.westby@ubuntu.com-20060910140133-ib2j86trekykfsfv
Tags: upstream-3.2.3
ImportĀ upstreamĀ versionĀ 3.2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 /* Global data for the ip routines. */
 
3
 
 
4
#ifdef _IP_ALLOCATE_GLOBAL_
 
5
#define EXTERN
 
6
#define INITIALIZE(x,y) x=y
 
7
#else
 
8
#define EXTERN extern
 
9
#define INITIALIZE(x,y) x
 
10
#endif
 
11
 
 
12
  /*  The input file. */
 
13
EXTERN FILE INITIALIZE(*ip_in,NULL);
 
14
 
 
15
  /*  The output file. */
 
16
EXTERN FILE INITIALIZE(*ip_out,NULL);
 
17
 
 
18
  /* The parsed input. */
 
19
EXTERN ip_keyword_tree_t INITIALIZE(*ip_tree,NULL);
 
20
EXTERN ip_keyword_tree_t INITIALIZE(*sub_tree,NULL);
 
21
 
 
22
  /* Pointers within ip_tree to the current keywords
 
23
   * (up and down are unused). */
 
24
EXTERN ip_keyword_tree_list_t INITIALIZE(*ip_cwk,NULL);
 
25
 
 
26
 /* This is 1 if everything is to be converted into uppercase. */
 
27
EXTERN int INITIALIZE(ip_uppercase,0);
 
28
 
 
29
 /* This is 1 if keywords are to be shown as they are searched. */
 
30
EXTERN int ip_keyword;
 
31