home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / som / include / eventmsk.h < prev    next >
C/C++ Source or Header  |  1999-02-22  |  1KB  |  47 lines

  1. /*
  2.  *   COMPONENT_NAME: somu
  3.  *
  4.  *   ORIGINS: 27
  5.  *
  6.  *
  7.  *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996 
  8.  *   All Rights Reserved
  9.  *   Licensed Materials - Property of IBM
  10.  *   US Government Users Restricted Rights - Use, duplication or
  11.  *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12.  */
  13. /* @(#) 2.6 src/somem/eventmsk.h, somu, som2.1 12/26/95 16:30:29 [7/30/96 14:46:09] */
  14.  
  15. /*
  16.  */
  17.  
  18. #ifndef H_EVENTMASKDEF
  19. #define H_EVENTMASKDEF
  20.  
  21. /* Event Types */
  22. #define EMTimerEvent                    54 
  23. #define EMSignalEvent                   55 
  24. #define EMSinkEvent                     56 
  25.  
  26. #define EMWorkProcEvent                 57 
  27.  
  28. #define EMClientEvent                   58
  29.  
  30. #define EMMsgQEvent            59
  31.  
  32. /* Sink input/output condition mask */
  33.  
  34. #define EMInputReadMask            (1L<<0)
  35. #define EMInputWriteMask        (1L<<1)
  36. #define EMInputExceptMask        (1L<<2)
  37.  
  38. /* Process Event mask */
  39.  
  40. #define EMProcessTimerEvent             (1L<<0)
  41. #define EMProcessSinkEvent              (1L<<1)
  42. #define EMProcessWorkProcEvent          (1L<<2)
  43. #define EMProcessClientEvent            (1L<<3)
  44. #define EMProcessAllEvents              (1L<<6)
  45.  
  46. #endif   /* H_EVENTMASKDEF */
  47.