dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
[oweals/cde.git] / cde / lib / DtHelp / LinkMgrP.h
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 librararies 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
45
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 /********    Typedef Structures Declarations    ********/
51 #if !defined(_DtCanvasI_h) && !defined(_DtCvLinkMgrI_h)
52 typedef struct _dtCvLinkDb*     _DtCvLinkDb;
53 #endif
54
55 /********    Public Function Declarations    ********/
56
57 extern  int             _DtLinkDbAddLink (
58                                 _DtCvLinkDb      link_db,
59                                 char            *id,
60                                 char            *spec,
61                                 int              type,
62                                 int              hint,
63                                 char            *description);
64 extern  int             _DtLinkDbAddSwitch (
65                                 _DtCvLinkDb      link_db,
66                                 char            *id,
67                                 char            *interp,
68                                 char            *cmd,
69                                 char            *branches);
70 extern  _DtCvLinkDb     _DtLinkDbCreate (void);
71 extern  void            _DtLinkDbDestroy (_DtCvLinkDb link_db);
72 extern  void            _DtLinkDbRemoveLink(
73                                 _DtCvLinkDb      link_data,
74                                 int           link_index);
75
76 #ifdef __cplusplus
77 }  /* Close scope of 'extern "C"' declaration which encloses file. */
78 #endif
79
80 #endif /* _DtCvLinkMgrP_h */
81 /* DON'T ADD ANYTHING AFTER THIS #endif */