home *** CD-ROM | disk | FTP | other *** search
/ Hacker Chronicles 2 / HACKER2.BIN / 520.ALL.H < prev    next >
C/C++ Source or Header  |  1988-05-12  |  4KB  |  76 lines

  1. /**************************************************************************\
  2. *                                                                          *
  3. *                                                                          *
  4. *    *****                      *****                                      *
  5. *      *****                  *****                                        *
  6. *        *****              *****                                          *
  7. *          *****          *****                                            *
  8. *            *****      *****                                              *
  9. *              *****  *****                                                *
  10. *            *****      *****                                              *
  11. *          *****          *****          The Firmware. The Net.            *
  12. *        *****              *****        Portable. Compatible.             *
  13. *      *****                  *****      Public Domain.                    *
  14. *    *****                      *****    By NORD><LINK.                    *
  15. *                                                                          *
  16. *                                                                          *
  17. *                                                                          *
  18. *    ALL.H   -   Headerfile fuer alle C-Sources                            *
  19. *                                                                          *
  20. *    angelegt:      DC4OX                                                  *
  21. *    modifiziert:                                                          *
  22. *                                                                          *
  23. \**************************************************************************/
  24.  
  25.  
  26.  
  27.  
  28.  
  29. /*                                                         Festlegungen   */
  30. /**************************************************************************/
  31.  
  32. #define FIRMWARE              /*   defined :  Compilieren TheFirmware     */
  33.                               /* undefined :  Compilieren TheNet          */
  34.  
  35. #ifdef FIRMWARE
  36. #define LINKNMBR     4        /* maximale Anzahl Links = Connect-Kanaele  */
  37. #else
  38. #define LINKNMBR    25
  39. #endif
  40.  
  41. #define TRUE        1         /* BOOLEAN TRUE                             */
  42. #define FALSE       0         /* BOOLEAN FALSE                            */
  43. #define YES         1         /* TRUE-Synonym                             */
  44. #define NO          0         /* FALSE-Synonym                            */
  45. #define ERROR       (-1)      /* Fehler                                   */
  46. #define LOOP        for(;;)   /* Endlosschleife                           */
  47. #define STACKLEN    384       /* Anzahl Bytes fuer Systemstack            */
  48. #define MAGIC       0x4D5A    /* "magic number", Warmstartfeststellung    */
  49.                               /* (MSDOS laesst gruessen ...)              */
  50.  
  51.                               /* Portnummern :                            */
  52. #define HDLCPORT    0         /*   Packet-Port                            */
  53. #define ASYNPORT    1         /*   RS232 Crosslink-Port                   */
  54.  
  55. #define NULL        0         /* leerer Inhalt, leerer Zeiger,            */
  56.                               /* sollte bei 8-Bit-Systemen 0, bei 16-Bit- */
  57.                               /* Systemen 0L heissen, 0L weil NULL auch   */
  58.                               /* als Parameter moeglich ist, 0L bei       */
  59.                               /* 8-Bit-Systemen kann aber dazu fuehren,   */
  60.                               /* dass die 32-Bit-Bibliothek geladen wird, */
  61.                               /* ohne dass sie benutzt wird               */
  62.  
  63.  
  64.  
  65.  
  66.  
  67. /*                                                       einfache Typen   */
  68. /**************************************************************************/
  69.  
  70. typedef int        VOID;      /* Keine-Parameter-Zurueck-Funktion         */
  71. typedef unsigned   BOOLEAN;   /* 1 = TRUE, 0 = FALSE                      */
  72.  
  73.  
  74.  
  75. /* Ende von ALL.H */
  76.