~ubuntu-branches/ubuntu/precise/arj/precise-security

« back to all changes in this revision

Viewing changes to bindings.h

  • Committer: Bazaar Package Importer
  • Author(s): Guillem Jover
  • Date: 2004-06-27 08:07:09 UTC
  • Revision ID: james.westby@ubuntu.com-20040627080709-1gkxm72ex66gkwe4
Tags: upstream-3.10.21
ImportĀ upstreamĀ versionĀ 3.10.21

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * $Id: bindings.h,v 1.2 2003/02/07 17:21:01 andrew_belov Exp $
 
3
 * ---------------------------------------------------------------------------
 
4
 * This file defines basic constants depending on the given SFX_LEVEL
 
5
 *
 
6
 */
 
7
 
 
8
#ifndef BINDINGS_INCLUDED
 
9
#define BINDINGS_INCLUDED
 
10
 
 
11
#define C_DEFS_INCLUDED
 
12
#include <c_defs.h>
 
13
 
 
14
/* If the SFX_LEVEL is not given, default to the lowest one ever possible */
 
15
 
 
16
#ifndef SFX_LEVEL
 
17
 #ifdef SFL
 
18
  #define SFX_LEVEL              SFL
 
19
 #else
 
20
  #define SFX_LEVEL                0
 
21
 #endif
 
22
#endif
 
23
 
 
24
/* Bindings (SFX_LEVEL grades) */
 
25
 
 
26
#define ARJ                        4
 
27
#define ARJSFXV                    3
 
28
#define ARJSFX                     2
 
29
#define ARJSFXJR                   1
 
30
 
 
31
#if SFX_LEVEL>=ARJ
 
32
 #define FMSG_ST
 
33
 #define FARDATA                 FAR
 
34
 #define FARCODE                        /* Just indicates the far code model */
 
35
 #define EXTR_LEVEL  ARJ_X_SUPPORTED
 
36
#else
 
37
 #define FARDATA
 
38
 #define EXTR_LEVEL        ARJ_X_SFX
 
39
#endif
 
40
 
 
41
#if defined(USE_COLORS)&&(SFX_LEVEL>=ARJ||defined(REARJ))
 
42
 #define COLOR_OUTPUT
 
43
#endif
 
44
 
 
45
/* Debug information record. */
 
46
 
 
47
#ifdef DEBUG
 
48
 #define DEBUGHDR(fname) static char dbg_cur_file[]=fname; \
 
49
                         static int dbg_dummy;
 
50
#else
 
51
 #define DEBUGHDR(fname)
 
52
#endif
 
53
 
 
54
#endif