home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / X / mit / extensions / lib / PEX / include / cpb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-15  |  3.9 KB  |  108 lines

  1. /* $XConsortium: cpb.h,v 5.1 91/02/16 09:49:01 rws Exp $ */
  2.  
  3. /***********************************************************
  4. Copyright 1989, 1990, 1991 by Sun Microsystems, Inc. and the X Consortium.
  5.  
  6.                         All Rights Reserved
  7.  
  8. Permission to use, copy, modify, and distribute this software and its 
  9. documentation for any purpose and without fee is hereby granted, 
  10. provided that the above copyright notice appear in all copies and that
  11. both that copyright notice and this permission notice appear in 
  12. supporting documentation, and that the names of Sun Microsystems,
  13. the X Consortium, and MIT not be used in advertising or publicity 
  14. pertaining to distribution of the software without specific, written 
  15. prior permission.  
  16.  
  17. SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 
  18. INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT 
  19. SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL 
  20. DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  22. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  23. SOFTWARE.
  24. ******************************************************************/
  25.  
  26. #ifndef PHG_CPB_H_INCLUDED
  27. #define PHG_CPB_H_INCLUDED
  28.  
  29. /* Types for PHIGS/PEX CPB module. */
  30.  
  31. typedef struct { /* Data internal to the CPB module */
  32.     Phg_scratch        scratch;
  33.     Css_handle        cssh;    /* NULL in two-process client. */
  34. } Cp_b;
  35.  
  36. /* CPB functions used only in the monitor. */
  37. extern void        phg_cpb_pm_destroy();
  38. extern Ws_handle    phg_cpb_pm_open_ws();
  39. extern void        phg_cpb_pm_close_ws();
  40.  
  41. /* CPB functions used only in the client. */
  42. extern void        phg_cpbc_destroy();
  43. extern Ws_handle    phg_cpbc_open_ws();
  44. extern void        phg_cpbc_close_ws();
  45. extern int        phg_cpbc_struct_exists();
  46. extern void        phg_cpbc_ar_archive();
  47.  
  48. /* CPB utility functions used in both the client and the monitor. */
  49. extern void        phg_cpb_destroy();
  50. extern void        phg_cpb_ws_update();
  51. extern void        phg_cpb_ws_redraw_all();
  52. extern void        phg_cpb_set_disp_state();
  53. extern void        phg_cpb_inq_disp_update_state();
  54. extern void        phg_cpb_inq_colr_map_meth_st();
  55. Ws_handle        phg_cpb_open_ws();
  56. extern void        phg_cpb_close_ws();
  57. extern void        phg_cpb_post_struct();
  58. extern void        phg_cpb_unpost_struct();
  59. extern void        phg_cpb_unpost_all();
  60. extern void        phg_cpb_set_rep();
  61. extern void        phg_cpb_inq_rep();
  62. extern void        phg_cpb_inq_view_rep();
  63. extern void        phg_cpb_set_hlhsr_mode();
  64. extern void        phg_cpb_inq_hlhsr_mode();
  65. extern void        phg_cpb_set_ws_win();
  66. extern void        phg_cpb_set_ws_vp();
  67. extern void        phg_cpb_inq_ws_xform();
  68. extern void        phg_cpb_set_filter();
  69. extern void        phg_cpb_inq_filter();
  70. extern void        phg_cpb_inq_posted();
  71. extern void        phg_cpb_set_view_input_priority();
  72. extern void        phg_cpb_inq_indices();
  73. extern void        phg_cpb_message();
  74. extern void        phg_cpb_inq_win_info();
  75. extern void        phg_cpb_ws_drawable_pick();
  76. extern void        phg_cpb_ws_map_points();
  77. extern void        phg_cpb_ws_redraw_regions();
  78. extern void        phg_cpb_ws_map_points();
  79. extern void        phg_cpb_ws_synch();
  80.  
  81. extern void        phg_cpb_add_el();
  82. extern void        phg_cpb_inq_el_type_size();
  83. extern void        phg_cpb_inq_el_content();
  84. extern void        phg_cpb_open_struct();
  85. extern void        phg_cpb_close_struct();
  86. extern void        phg_cpb_delete_all_structs();
  87. extern void        phg_cpb_delete_struct();
  88. extern void        phg_cpb_delete_struct_net();
  89. extern void        phg_cpb_set_edit_mode();
  90. extern void        phg_cpb_set_el_ptr();
  91. extern void        phg_cpb_copy_all_els();
  92. extern void        phg_cpb_delete_el();
  93. extern void        phg_cpb_inq_el_ptr();
  94. extern void        phg_cpb_inq_struct_status();
  95. extern void        phg_cpb_inq_struct_ids();
  96. extern void        phg_cpb_el_search();
  97. extern void        phg_cpb_inq_wss_posted_to();
  98. extern void        phg_cpb_inq_hierarchy();
  99. extern void        phg_cpb_change_struct_id();
  100. extern void        phg_cpb_change_struct_refs();
  101. extern void        phg_cpb_change_struct_idrefs();
  102. extern void        phg_cpb_inc_spa_search();
  103. extern void        phg_cpb_inq_text_extent();
  104. extern int        phg_cpb_full_copy_b_to_a();
  105.  
  106. #endif
  107.  
  108.