home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / prog / utils / sercli.shr / sercli / src / keywords.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-16  |  1.6 KB  |  62 lines

  1. /*
  2. **  $Source: WB_2.1:homes/rkr/prog/sercli/src/RCS/keywords.c,v $
  3. **  $Author: rkr $
  4. **  $Revision: 1.5 $
  5. **  $Locker: rkr $
  6. **  $State: Exp $
  7. **  $Date: 1993/06/16 23:30:39 $
  8. **
  9. **  sercli (an Amiga .device <-> FIFO interface tool)
  10. **  Copyright (C) 1993  Richard Rauch
  11. **
  12. **  See /doc/sercli.doc and /COPYING for use and distribution license.
  13. **
  14. */
  15.  
  16. #include "config.h"
  17. #include "keywords.h"
  18.  
  19. /*
  20. **  This is a table describing the relationship between compile-time
  21. **  symbols (see "keywords.h") and string constants that may appear in
  22. **  config files and/or ARexx commands.  (Not all are valid in both
  23. **  contexts).
  24. **
  25. */
  26.  
  27. option keywords [] =
  28. {
  29.     {"id",              ID_STRING},
  30.  
  31.     {"device name",     DEVICE_NAME},
  32.     {"device unit",     DEVICE_UNIT},
  33.  
  34.     {"bps",             SER_BPS},
  35.     {"bits",            SER_BITS},
  36.     {"sbits",           SER_STOP_BITS},
  37.     {"7wire",           SER_7WIRE},
  38.     {"3wire",           SER_3WIRE},
  39.     {"xon/xoff",        SER_XON_XOFF},
  40.     {"no xon/xoff",     SER_NO_XON_XOFF},
  41.     {"shared",          SER_SHARED},
  42.     {"exclusive",       SER_EXCLUSIVE},
  43.     {"no rad boogie",   SER_NO_RAD_BOOGIE},
  44.     {"rad boogie",      SER_RAD_BOOGIE},
  45.     {"no parity",       SER_NO_PARITY},
  46.     {"odd parity",      SER_ODD_PARITY},
  47.     {"even parity",     SER_EVEN_PARITY},
  48.  
  49.     {"window title",    SET_WINDOW_TITLE},
  50.     {"window size",     SET_WINDOW_SIZE},
  51.  
  52.     {"alert ser",       ALERT_SER},
  53.     {"alert loc",       ALERT_LOC},
  54.     {"no alert ser",    NO_ALERT_SER},
  55.     {"no alert loc",    NO_ALERT_LOC},
  56.  
  57.     {"ser query",       SER_QUERY},
  58.  
  59.     {"", OPTION_NULL},
  60. };
  61.  
  62.