2 * Main definitions and externals
4 * Copyright 2000 Bertho A. Stultiens (BS)
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WMC_WMCTYPES_H
22 #define __WMC_WMCTYPES_H
41 const WCHAR
*name
; /* Parsed name of token */
42 int token
; /* Tokenvalue or language code */
44 const WCHAR
*alias
; /* Alias or filename */
45 int fixed
; /* Cleared if token may change */
60 int lan
; /* Language code of message */
61 int cp
; /* Codepage of message */
62 WCHAR
*msg
; /* Message text */
63 int len
; /* Message length including trailing '\0' */
64 const char *file
; /* File location for definition */
69 int id
; /* Message ID */
70 unsigned realid
; /* Combined message ID */
71 WCHAR
*sym
; /* Symbolic name */
72 int sev
; /* Severity code */
73 int fac
; /* Facility code */
74 struct lanmsg
**msgs
; /* Array message texts */
75 int nmsgs
; /* Number of message texts in array */
76 int base
; /* Base of number to print */
77 WCHAR
*cast
; /* Typecase to use */
97 unsigned idlo
; /* Lowest ID in this set */
98 unsigned idhi
; /* Highest ID in this set */
99 int size
; /* Size of this set */
100 struct lanmsg
**msgs
; /* Array of messages in this set */
101 int nmsg
; /* Number of array entries */
105 struct lan_blk
*next
; /* Linkage for languages */
106 struct lan_blk
*prev
;
107 int lan
; /* The language of this block */
108 int version
; /* The resource version for auto-translated resources */
109 struct block
*blks
; /* Array of blocks for this language */
110 int nblk
; /* Nr of blocks in array */