home *** CD-ROM | disk | FTP | other *** search
- /*--------------------------------------------------------------------------*/
- /* */
- /* */
- /* ------------ Bit-Bucket Software, Co. */
- /* \ 10001101 / Writers and Distributors of */
- /* \ 011110 / Freely Available<tm> Software. */
- /* \ 1011 / */
- /* ------ */
- /* */
- /* (C) Copyright 1987-96, Bit Bucket Software Co. */
- /* */
- /* This header file was written by Bill Andrus */
- /* */
- /* OS/2 Snoop server library definitions for BinkleyTerm */
- /* */
- /* */
- /* For complete details of the licensing restrictions, please refer */
- /* to the License agreement, which is published in its entirety in */
- /* the MAKEFILE and BT.C, and also contained in the file LICENSE.260. */
- /* */
- /* USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE */
- /* BINKLEYTERM LICENSING AGREEMENT. IF YOU DO NOT FIND THE TEXT OF */
- /* THIS AGREEMENT IN ANY OF THE AFOREMENTIONED FILES, OR IF YOU DO */
- /* NOT HAVE THESE FILES, YOU SHOULD IMMEDIATELY CONTACT BIT BUCKET */
- /* SOFTWARE CO. AT ONE OF THE ADDRESSES LISTED BELOW. IN NO EVENT */
- /* SHOULD YOU PROCEED TO USE THIS FILE WITHOUT HAVING ACCEPTED THE */
- /* TERMS OF THE BINKLEYTERM LICENSING AGREEMENT, OR SUCH OTHER */
- /* AGREEMENT AS YOU ARE ABLE TO REACH WITH BIT BUCKET SOFTWARE, CO. */
- /* */
- /* */
- /* You can contact Bit Bucket Software Co. at any one of the following */
- /* addresses: */
- /* */
- /* Bit Bucket Software Co. FidoNet 1:104/501, 1:343/491 */
- /* P.O. Box 460398 AlterNet 7:42/1491 */
- /* Aurora, CO 80046 BBS-Net 86:2030/1 */
- /* Internet f491.n343.z1.fidonet.org */
- /* */
- /* Please feel free to contact us at any time to share your comments about */
- /* our software and/or licensing policies. */
- /* */
- /*--------------------------------------------------------------------------*/
-
- #ifndef APIENTRY
- #include <os2def.h>
- #endif
-
- #ifdef __32BIT__ /* MB 93-11-27 */
-
- #ifndef CALLBACK
- #define CALLBACK _Far16 _Pascal
- #endif
-
- typedef SEL HSNOOP;
- typedef PSEL PHSNOOP;
- typedef short ( * CALLBACK PFNSN) (short flag, char * _Seg16 _Far16 str);
-
-
- USHORT CALLBACK SnoopOpen (PSZ _Seg16 pszPipeName,
- PHSNOOP _Seg16 phSnoop,
- PSZ _Seg16 pszAppName,
- PFNSN NotifyFunc);
-
- USHORT CALLBACK SnoopWrite (HSNOOP hsn, PSZ _Seg16 pszMessage);
-
- USHORT CALLBACK SnoopClose (HSNOOP hsn);
-
- #else /* #ifdef __32BIT__ */
-
- #ifndef CALLBACK
- #define CALLBACK pascal far _loadds _export
- #endif
-
- typedef SEL HSNOOP;
- typedef PSEL PHSNOOP;
- typedef int (pascal far * PFNSN) (int flag, char far * str);
-
- USHORT CALLBACK SnoopOpen (PSZ pszPipeName,
- PHSNOOP phSnoop,
- PSZ pszAppName,
- PFNSN NotifyFunc);
-
- USHORT CALLBACK SnoopWrite (HSNOOP hsn, PSZ pszMessage);
-
- USHORT CALLBACK SnoopClose (HSNOOP hsn);
-
- #endif /* #ifdef __IBMC__ */
-
-