2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
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)
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
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
23 /* $XConsortium: CCDFUtilI.h /main/5 1995/10/26 12:17:26 rswiston $ */
24 /*************************************<+>*************************************
25 ****************************************************************************
29 ** Project: Un*x Desktop Help
31 ** Description: Header file for CCDFUtil.c
34 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
37 ** (c) Copyright 1993, 1994 International Business Machines Corp.
38 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
39 ** (c) Copyright 1993, 1994 Novell, Inc.
42 ****************************************************************************
43 ************************************<+>*************************************/
44 #ifndef _CECCDFUtilI_h
45 #define _CECCDFUtilI_h
47 /*****************************************************************************
48 * Parsing flags and macros
49 *****************************************************************************/
50 #define CCDF_ABBREV_CMD (1 << 0)
51 #define CCDF_FIGURE_CMD (1 << 1)
52 #define CCDF_FONT_CMD (1 << 2)
53 #define CCDF_FORMAT_END (1 << 3)
54 #define CCDF_GRAPHIC_CMD (1 << 4)
55 #define CCDF_ID_CMD (1 << 5)
56 #define CCDF_LABEL_CMD (1 << 6)
57 #define CCDF_LINK_CMD (1 << 7)
58 #define CCDF_NEWLINE_CMD (1 << 8)
59 #define CCDF_OCTAL_CMD (1 << 9)
60 #define CCDF_PARAGRAPH_CMD (1 << 10)
61 #define CCDF_TITLE_CMD (1 << 11)
62 #define CCDF_TOPIC_CMD (1 << 12)
64 #define CCDF_NO_CMDS 0
65 #define CCDF_ALL_CMDS ~(0)
66 #define CCDF_ALLOW_CMD(x, y) ((x) & (y))
67 #define CCDF_NOT_ALLOW_CMD(x, y) ((~(x)) & (y))
69 /****************************************************************************
70 * Semi Public Routines
71 ****************************************************************************/
72 extern int _DtHelpCeGetCcdfAbbrevCmd(
79 extern int _DtHelpCeSkipCcdfAbbrev(
85 extern int _DtHelpCeCheckNextCcdfCmd(
92 extern int _DtHelpCeGetCcdfEndMark(
98 extern int _DtHelpCeGetCcdfFontType(
100 extern int _DtHelpCeGetCcdfValueParam(
108 extern int _DtHelpCeGetCcdfStrParam(
115 _DtCvValue eat_escape,
116 _DtCvValue ignore_quotes,
117 _DtCvValue less_test,
119 extern int _DtHelpCeGetCcdfTopicAbbrev(
129 extern int _DtHelpCeGetCcdfTopicCmd(
137 extern int _DtHelpCeGetCcdfCmd(
144 extern int _DtHelpCeSkipToNextCcdfToken(
152 #endif /* _CECCDFUtilI_h */