Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / lib / DtHelp / LinkMgrP.h
1 /* $XConsortium: LinkMgrP.h /main/2 1996/05/09 03:43:50 drk $ */
2 /*************************************<+>*************************************
3  *****************************************************************************
4  **
5  **  File:   LinkMgrP.h
6  **
7  **  Project:
8  **
9  **  Description:  Public Header file for the Ling Manager
10  **
11  **  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
12  **
13  **  (c) Copyright 1993, 1994 Hewlett-Packard Company
14  **  (c) Copyright 1993, 1994 International Business Machines Corp.
15  **  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
16  **  (c) Copyright 1993, 1994 Novell, Inc.
17  **
18  *******************************************************************
19  *************************************<+>*************************************/
20 #ifndef _DtCvLinkMgrP_h
21 #define _DtCvLinkMgrP_h
22
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 /********    Typedef Structures Declarations    ********/
29 #if !defined(_DtCanvasI_h) && !defined(_DtCvLinkMgrI_h)
30 typedef struct _dtCvLinkDb*     _DtCvLinkDb;
31 #endif
32
33 /********    Public Function Declarations    ********/
34
35 extern  int             _DtLinkDbAddLink (
36                                 _DtCvLinkDb      link_db,
37                                 char            *id,
38                                 char            *spec,
39                                 int              type,
40                                 int              hint,
41                                 char            *description);
42 extern  int             _DtLinkDbAddSwitch (
43                                 _DtCvLinkDb      link_db,
44                                 char            *id,
45                                 char            *interp,
46                                 char            *cmd,
47                                 char            *branches);
48 extern  _DtCvLinkDb     _DtLinkDbCreate (void);
49 extern  void            _DtLinkDbDestroy (_DtCvLinkDb link_db);
50 extern  void            _DtLinkDbRemoveLink(
51                                 _DtCvLinkDb      link_data,
52                                 int           link_index);
53
54 #ifdef __cplusplus
55 }  /* Close scope of 'extern "C"' declaration which encloses file. */
56 #endif
57
58 #endif /* _DtCvLinkMgrP_h */
59 /* DON'T ADD ANYTHING AFTER THIS #endif */