2 Copyright © 2000, The AROS Development Team. All rights reserved.
5 Desc: DataTypesDescriptorCreator
25 #define READBUFFERSIZE (256)
38 struct DataTypeHeader DTH
;
39 uint8_t Name
[READBUFFERSIZE
];
40 uint8_t Version
[READBUFFERSIZE
];
41 uint8_t BaseName
[READBUFFERSIZE
];
42 uint8_t Pattern
[READBUFFERSIZE
];
43 uint16_t Mask
[READBUFFERSIZE
];
45 uint8_t ReadBuffer
[READBUFFERSIZE
];
52 int main(int argc
, char **argv
);
53 int Init(int argc
, char **argv
, struct DTDesc
**TheDTDesc
);
54 void Work(struct DTDesc
*TheDTDesc
);
55 void Cleanup(struct DTDesc
*TheDTDesc
);
57 void Usage(char *ProgName
);
58 int ParseArgs(int argc
, char **argv
, struct DTDesc
*TheDTDesc
);
59 int OpenInput(struct DTDesc
*TheDTDesc
);
61 int HandleLine(struct DTDesc
*TheDTDesc
);
62 int HandleName(struct DTDesc
*TheDTDesc
);
63 int HandleVersion(struct DTDesc
*TheDTDesc
);
64 int HandleBaseName(struct DTDesc
*TheDTDesc
);
65 int HandlePattern(struct DTDesc
*TheDTDesc
);
66 int HandleMask(struct DTDesc
*TheDTDesc
);
67 int HandleGroupID(struct DTDesc
*TheDTDesc
);
68 int HandleID(struct DTDesc
*TheDTDesc
);
69 int HandleFlags(struct DTDesc
*TheDTDesc
);
70 int HandlePriority(struct DTDesc
*TheDTDesc
);
72 int WriteOutDTD(struct DTDesc
*TheDTDesc
);