1: /*
   2:  * Standard include file for "less".
   3:  */
   4: 
   5: /*
   6:  * Language details.
   7:  */
   8: #if !VOID
   9: #define void  int
  10: #endif
  11: #define public      /* PUBLIC FUNCTION */
  12: 
  13: /*
  14:  * Special types and constants.
  15:  */
  16: typedef long        POSITION;
  17: /*
  18:  * {{ Warning: if POSITION is changed to other than "long",
  19:  *    you may have to change some of the printfs which use "%ld"
  20:  *    to print a variable of type POSITION. }}
  21:  */
  22: 
  23: #define NULL_POSITION   ((POSITION)(-1))
  24: 
  25: #define EOF     (0)
  26: #define NULL        (0)
  27: 
  28: /* How quiet should we be? */
  29: #define NOT_QUIET   0   /* Ring bell at eof and for errors */
  30: #define LITTLE_QUIET    1   /* Ring bell only for errors */
  31: #define VERY_QUIET  2   /* Never ring bell */
  32: 
  33: /* How should we prompt? */
  34: #define PR_SHORT    0   /* Prompt with colon */
  35: #define PR_MEDIUM   1   /* Prompt with message */
  36: #define PR_LONG     2   /* Prompt with longer message */
  37: 
  38: /* How should we handle backspaces? */
  39: #define BS_SPECIAL  0   /* Do special things for underlining and bold */
  40: #define BS_NORMAL   1   /* \b treated as normal char; actually output */
  41: #define BS_CONTROL  2   /* \b treated as control char; prints as ^H */
  42: 
  43: /* Special chars used to tell put_line() to do something special */
  44: #define UL_CHAR     '\201'  /* Enter underline mode */
  45: #define UE_CHAR     '\202'  /* Exit underline mode */
  46: #define BO_CHAR     '\203'  /* Enter boldface mode */
  47: #define BE_CHAR     '\204'  /* Exit boldface mode */
  48: 
  49: #define CONTROL(c)      ((c)&037)
  50: #define SIGNAL(sig,func)    signal(sig,func)
  51: 
  52: /* Library function declarations */
  53: off_t lseek();
  54: 
  55: #include "funcs.h"

Defined typedef's

Defined macros

BE_CHAR defined in line 47; used 4 times
BO_CHAR defined in line 46; used 3 times
BS_CONTROL defined in line 41; used 1 times
BS_NORMAL defined in line 40; never used
BS_SPECIAL defined in line 39; used 1 times
CONTROL defined in line 49; used 10 times
LITTLE_QUIET defined in line 30; never used
NOT_QUIET defined in line 29; used 1 times
PR_LONG defined in line 36; used 1 times
PR_MEDIUM defined in line 35; used 1 times
PR_SHORT defined in line 34; used 1 times
SIGNAL defined in line 50; used 10 times
UE_CHAR defined in line 45; used 4 times
UL_CHAR defined in line 44; used 3 times
VERY_QUIET defined in line 31; used 1 times
void defined in line 9; never used

Usage of this include

Last modified: 1990-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 722
Valid CSS Valid XHTML 1.0 Strict