home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir10 / f015800.re_ / f015800.re
Text File  |  1996-04-02  |  3KB  |  81 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (1993-95) Bentley Systems, Inc., All rights reserved.    |
  4. |                                    |
  5. |  "MicroStation" is a registered trademark and "MDL" and "MicroCSL"    |
  6. |  are trademarks of Bentley Systems, Inc.                    |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   $Logfile:   J:/mdl/examples/mdlipc/mdlipc.h_v  $
  18. |   $Workfile:   mdlipc.h  $
  19. |   $Revision:   1.3  $
  20. |       $Date:   30 Jun 1995 09:18:34  $
  21. |                                    |
  22. +----------------------------------------------------------------------*/
  23. /*----------------------------------------------------------------------+
  24. |                                    |
  25. |   Function -                                |
  26. |                                    |
  27. |    MDL IPC Example application defines and structures        |
  28. |                                    |
  29. +----------------------------------------------------------------------*/
  30. /*----------------------------------------------------------------------+
  31. |                                    |
  32. |   mdlipc.h 
  33. |                                    |
  34. +----------------------------------------------------------------------*/
  35. #if !defined (__mdlipcH__)
  36. #define __mdlipcH__
  37.  
  38. /*----------------------------------------------------------------------+
  39. |                                    |
  40. |                                       |
  41. |                                    |
  42. +----------------------------------------------------------------------*/
  43. #define        MDLIPC_RESPONSE    0
  44. #define        MDLIPC_BRACKET    1
  45. #define        MDLIPC_ECHO        2
  46. #define        MDLIPC_PRINT_FUNC    3
  47.  
  48. /*----------------------------------------------------------------------+
  49. |                                    |
  50. |                                       |
  51. |                                    |
  52. +----------------------------------------------------------------------*/
  53. #define        MSGID_Response        1
  54. #define        MSGID_NoEchoServer        2
  55. #define        MSGID_UnexpectedMsg        3
  56. #define        MSGID_UnexpectedType    4
  57.  
  58. /*----------------------------------------------------------------------+
  59. |                                    |
  60. |                                       |
  61. |                                    |
  62. +----------------------------------------------------------------------*/
  63. #define        MESSAGELISTID_MdlIpc    1
  64.  
  65. /*----------------------------------------------------------------------+
  66. |                                    |
  67. |                                       |
  68. |                                    |
  69. +----------------------------------------------------------------------*/
  70. #if !defined (resource)
  71. typedef struct mdlIpc
  72.     {
  73.     Inputq_header    hdr;
  74.     int             request;
  75.     char         requestor [TASK_ID_SIZE];
  76.     void        *dataP;
  77.     } mdlIpc;
  78. #endif
  79.  
  80. #endif /* if !defined (__mdlipcH__) */
  81.