- Added a page of various Numeric gadgets.
[AROS.git] / tools / dtdesc / parser.h
blobce42c8c77c9c0ac41ee4f9cab8ace531b2151135
1 /*
2 Copyright © 2000, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: DataTypesDescriptorCreator.
6 Lang: English.
7 */
9 enum Keywords
11 Name,
12 Version,
13 BaseName,
14 Pattern,
15 Mask,
16 GroupID,
17 ID,
18 Flags,
19 Priority,
20 NumKeywords
23 const char *Keywords[] =
25 "Name=",
26 "Version=",
27 "BaseName=",
28 "Pattern=",
29 "Mask=",
30 "GroupID=",
31 "ID=",
32 "Flags=",
33 "Priority="
36 const int KeywordLength[] =
50 * Jetzt wirds haarig, ein Array von Funktionspointern.
52 int (*KeywordHandler[])(struct DTDesc *) =
54 HandleName,
55 HandleVersion,
56 HandleBaseName,
57 HandlePattern,
58 HandleMask,
59 HandleGroupID,
60 HandleID,
61 HandleFlags,
62 HandlePriority