home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / program / c / lbbs07 / sysdep.h < prev    next >
Text File  |  1993-04-24  |  693b  |  22 lines

  1. /* 
  2.  *    BBS Level Zero - System Dependant header file
  3.  *    (LazyBBS Project)
  4.  *
  5.  *    Public Domain: may be copied and sold freely
  6.  */
  7.  
  8. /* internal pseudo funcs for portability */
  9. #define timenix(a) time(a)    /* return nb of seconds since 1/1/70 */
  10. #define timet2nix(a) (a)    /* convert local time_t to nb of sec since 1/1/70 */
  11. #define logerror(a) { logline(1,a); return BBSFAIL; }
  12.  
  13. /* prototypes from sysdep.c */
  14. int sysdep_carrier(void ); /* 0 == lost */
  15. void sysdep_hangup(void );
  16. int sysdep_getchar(unsigned char *);
  17. void sysdep_flushin(void);
  18. void sysdep_putchar(unsigned char);
  19. int z_download(char *s);
  20. int z_upload(char *s);
  21. int sysdep_dupeio(char *s);
  22. /* end of sysdep.h */