home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 20 / AACD20.BIN / AACD / Programming / AmiSlate-Source / AmiSource-h / drawtcp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-31  |  858 b   |  29 lines

  1. /* drawtcp.h */
  2.  
  3. #define IDCMP_READY 0x01
  4. #define READ_READY  0x02
  5. #define WRITE_READY 0x04
  6. #define AREXX_READY 0x08
  7.  
  8. UBYTE DrawWait(void);
  9.  
  10. int ConnectDrawSocket(BOOL BShowRequester);
  11. int CloseDrawSocket(void);
  12. int Receive(char *sBuffer, LONG lLen);
  13.  
  14. void GetDrawPeerName(char *sBuffer, int nBufLen);
  15. void FlushQueue(void);
  16. void RexxTimeOut(void);
  17.  
  18. BOOL AcceptDrawSocket(struct DaemonMessage *dm);     /* Grabs given socket from inetd */
  19. BOOL SendChar(char cChar);
  20. BOOL SendString(char *sString, int nLen);
  21. BOOL AllocQueue(LONG lQMaxLen);
  22. BOOL FreeQueue(void);
  23. BOOL AddToQueue(char *sString, LONG lLen);
  24. BOOL ReduceQueue(void);
  25. BOOL GetRemoteScreenInfo(UWORD *height, UWORD *width, UBYTE *depth, UWORD *winheight, UWORD *windepth);
  26. BOOL SendScreenInfo(UWORD height, UWORD width, UBYTE depth, UWORD winheight, UWORD windepth);
  27. BOOL SetAsyncMode(BOOL BAsynch);
  28.  
  29.