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: FormatUtilI.h /main/9 1996/05/09 03:42:14 drk $ */
24 /*************************************<+>*************************************
25 ****************************************************************************
27 ** File: FormatUtilI.h
29 ** Project: TextGraphic Display routines
32 ** Description: Header file for FormatUtil.c
35 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
37 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
38 ** (c) Copyright 1993, 1994 International Business Machines Corp.
39 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
40 ** (c) Copyright 1993, 1994 Novell, Inc.
43 ****************************************************************************
44 ************************************<+>*************************************/
45 #ifndef _DtHelpFormatUtilI_h
46 #define _DtHelpFormatUtilI_h
48 /******** Semi-Private Structure Declarations ********/
49 typedef struct sdlMatchData {
55 typedef struct _frmtUiInfo {
56 _DtCvValue (*load_graphic)();
57 _DtCvValue (*resolve_spc)();
60 void (*destroy_region)();
61 _DtCvPointer client_data;
63 _DtCvUnit line_height;
69 typedef struct _frmtPrivateInfo {
83 /******** Semi-Private Function Declarations ********/
84 extern int _DtHelpCeAddCharToBuf (
90 extern int _DtHelpCeAddOctalToBuf(
96 extern int _DtHelpCeAddStrToBuf (
103 extern _DtCvSegment *_DtHelpAllocateSegments (
105 extern int _DtHelpCeGetMbLen(
108 extern int _DtHelpCeGetNxtBuf(
113 extern char * _DtHelpGetNxtToken (
116 extern int _DtHelpCeReadBuf(
120 extern int _DtHelpFmtFindBreak(
124 extern void _DtHelpLoadMultiInfo(
125 wchar_t **cant_begin_chars,
126 wchar_t **cant_end_chars,
129 /******** Semi-Private Macro Declarations ********/
130 #define FrmtPrivInfoPtr(x) ((FrmtPrivateInfo *) (x)->client_use)
132 #endif /* _DtHelpFormatUtilI_h */