LinkMgrP.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /*
  2. * CDE - Common Desktop Environment
  3. *
  4. * Copyright (c) 1993-2012, The Open Group. All rights reserved.
  5. *
  6. * These libraries and programs are free software; you can
  7. * redistribute them and/or modify them under the terms of the GNU
  8. * Lesser General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option)
  10. * any later version.
  11. *
  12. * These libraries and programs are distributed in the hope that
  13. * they will be useful, but WITHOUT ANY WARRANTY; without even the
  14. * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  15. * PURPOSE. See the GNU Lesser General Public License for more
  16. * details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public
  19. * License along with these libraries and programs; if not, write
  20. * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  21. * Floor, Boston, MA 02110-1301 USA
  22. */
  23. /* $XConsortium: LinkMgrP.h /main/2 1996/05/09 03:43:50 drk $ */
  24. /*************************************<+>*************************************
  25. *****************************************************************************
  26. **
  27. ** File: LinkMgrP.h
  28. **
  29. ** Project:
  30. **
  31. ** Description: Public Header file for the Ling Manager
  32. **
  33. ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
  34. **
  35. ** (c) Copyright 1993, 1994 Hewlett-Packard Company
  36. ** (c) Copyright 1993, 1994 International Business Machines Corp.
  37. ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
  38. ** (c) Copyright 1993, 1994 Novell, Inc.
  39. **
  40. *******************************************************************
  41. *************************************<+>*************************************/
  42. #ifndef _DtCvLinkMgrP_h
  43. #define _DtCvLinkMgrP_h
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47. /******** Typedef Structures Declarations ********/
  48. #if !defined(_DtCanvasI_h) && !defined(_DtCvLinkMgrI_h)
  49. typedef struct _dtCvLinkDb* _DtCvLinkDb;
  50. #endif
  51. /******** Public Function Declarations ********/
  52. extern int _DtLinkDbAddLink (
  53. _DtCvLinkDb link_db,
  54. char *id,
  55. char *spec,
  56. int type,
  57. int hint,
  58. char *description);
  59. extern int _DtLinkDbAddSwitch (
  60. _DtCvLinkDb link_db,
  61. char *id,
  62. char *interp,
  63. char *cmd,
  64. char *branches);
  65. extern _DtCvLinkDb _DtLinkDbCreate (void);
  66. extern void _DtLinkDbDestroy (_DtCvLinkDb link_db);
  67. extern void _DtLinkDbRemoveLink(
  68. _DtCvLinkDb link_data,
  69. int link_index);
  70. #ifdef __cplusplus
  71. } /* Close scope of 'extern "C"' declaration which encloses file. */
  72. #endif
  73. #endif /* _DtCvLinkMgrP_h */
  74. /* DON'T ADD ANYTHING AFTER THIS #endif */