home *** CD-ROM | disk | FTP | other *** search
- /***********************************************************************
- * Taps for file transfer operations *
- * *
- * *
- ***********************************************************************/
-
- // Create your keys for OS2.INI under this application name
- #define TAP_INIAPPL "Zap-O-Com TAPs"
-
- // The name of the queue, to which tapped events are sent
- #define TAP_QUEUE_NAME "\\QUEUES\\ZOC\\TRANSFER.TAP\\A"
-
- // This is the maximum number of taps running at a time
- #define TAP_MAX 10
-
- // The events given in the ulData field of a queue request block
- // Data and parameters are explained in TAP.C
- enum _TAP_EVENTS {
- TAP_EVENT_OPENFORREAD,
- TAP_EVENT_OPENFORWRITE,
- TAP_EVENT_OPENFORAPPEND,
- TAP_EVENT_WRITEBLOCK,
- TAP_EVENT_READBLOCK,
- TAP_EVENT_READBYTE,
- TAP_EVENT_SEEK,
- TAP_EVENT_CLOSE,
- TAP_EVENT_HOSTINFO
- };
-
-
- typedef struct _TAP_HOSTINFO {
-
- HWND hwndHostFrame; /* NULL if VIO application */
- char szHostName[32+1]; /* "Zap-O-Com" */
- char szHostVers[5+1]; /* "0V.VV" */
- long __Future[32]; /* for future use, for now ignore this */
-
- } TAP_HOSTINFO;
-