home *** CD-ROM | disk | FTP | other *** search
/ back2roots/padua / padua.7z / padua / ftp.vapor.com / microdot-1 / md1_src_02.lzx / uuconv.h < prev    next >
C/C++ Source or Header  |  2014-05-19  |  2KB  |  81 lines

  1. /*
  2.  
  3.     Connectline RFC->ZC-Konverter
  4.     -----------------------------
  5.     ⌐ 1993-94 Oliver Wagner, All Rights Reserved
  6.  
  7.     MicroDot-Version
  8.  
  9. */
  10.  
  11. #include <proto/exec.h>
  12. #include <proto/dos.h>
  13. #include <proto/intuition.h>
  14. #include <string.h>
  15. #include <ctype.h>
  16. #include <time.h>
  17. #include <dos/dostags.h>
  18. #include <dos/stdio.h>
  19. #include <exec/memory.h>
  20.  
  21. #include "microdot.h"
  22. #include "asyncio.h"
  23.  
  24. #define ASYNCBUFF (65536*1)
  25.  
  26. void __stdargs set_cmd( STRPTR, ... );
  27. void set_file( STRPTR, int );
  28. void __stdargs set_status( STRPTR, ... );
  29. void set_fg( int );
  30.  
  31. int rnews( char *from, char *dest );
  32. int rmail( char *from, char *dest, char *cmd );
  33. int bsmtp( char *from );
  34.  
  35. char * ng2board(char * );
  36. int readheaderline(struct AsyncFile *, int maxlen );
  37. char * breakmid(char * );
  38. char * convertuudate(char * );
  39. int convertadr(char * , char * );
  40. void __stdargs addlog( int, char *, ... );
  41.  
  42. /* Line buffer len */
  43. #define LBLEN 16384
  44.  
  45.  
  46. /* Redifinitions */
  47.  
  48. #define UUXQT_MD
  49.  
  50. #define ASMODE_READ MODE_READ
  51. #define ASMODE_APPEND MODE_APPEND
  52. #define ASMODE_WRITE MODE_WRITE
  53. #define ASMODE_CURRENT OFFSET_CURRENT
  54. #define ASMODE_START OFFSET_BEGINNING
  55. #define ASMODE_END OFFSET_END
  56.  
  57. #define CLU_GetFileLen getfilelen
  58. #define CLU_OpenAsync OpenAsync
  59. #define CLU_CloseAsync CloseAsync
  60. #define CLU_ReadAsync ReadAsync
  61. #define CLU_WriteAsync WriteAsync
  62. #define CLU_SeekAsync SeekAsync
  63. #define CLU_ReadCharAsync ReadCharAsync
  64. #define CLU_WriteCharAsync WriteCharAsync
  65. #define CLU_FtellAsync FtellAsync
  66. #define CLU_FGetsAsync FGetsAsync
  67. #define CLU_FPrintfAsync FPrintfAsync
  68. #define CLU_UnGetCAsync UnGetCAsync
  69.  
  70. #define CLU_CreatePool LibCreatePool
  71. #define CLU_DeletePool LibDeletePool
  72. #define CLU_AllocPooled LibAllocPooled
  73. #define CLU_StrDupPooled StrDupPooled
  74.  
  75. #define CLU_GetSeqNum() (prefs.counter++)
  76.  
  77. #define linebuffer sortinbuffer
  78.  
  79. #define domui()
  80.  
  81.