home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / uucp / duucp-1.17 / AU-117b4-src.lha / src / getty / defs.h next >
Encoding:
C/C++ Source or Header  |  1993-12-24  |  973 b   |  44 lines

  1. #include <exec/types.h>
  2. #include <exec/lists.h>
  3. #include <exec/devices.h>
  4. #include <exec/io.h>
  5. #include <devices/timer.h>
  6. #include <devices/serial.h>
  7. #include <libraries/dos.h>
  8. #include <libraries/dosextens.h>
  9. #include <hardware/cia.h>
  10. #include <stdio.h>
  11. #include <string.h>
  12. #include <ctype.h>
  13. #include <stdlib.h>
  14. #include <pwd.h>
  15. #include "version.h"
  16. #include "log.h"
  17. #include "fifo.h"
  18. #include <OwnDevUnit.h>
  19.  
  20. #ifndef IO_STATF_READBREAK
  21. #define IO_STATF_READBREAK (IOSTF_READBREAK<<8)
  22. #endif
  23.  
  24. #define arysize(ary)    (sizeof(ary)/sizeof((ary)[0]))
  25. #define Prototype   extern
  26.  
  27. typedef struct IORequest    IORequest;
  28. typedef struct timerequest  Iot;
  29. typedef struct IOExtSer     IOSer;
  30. typedef struct MsgPort        MsgPort;
  31. typedef struct List        List;
  32. typedef struct Node        Node;
  33. typedef struct Message        Message;
  34.  
  35. typedef struct GMsg {
  36.     struct Message  Msg;
  37.     short   Cmd;
  38.     long    Data1;
  39.     void    *Data2;
  40. } GMsg;
  41.  
  42. #include "protos.h"
  43. #include "getty_protos.h"
  44.