|
|
1.1.1.2 root 1: /*
2: * Hatari - cfgopts.h
3: */
4:
5: #ifndef HATARI_CFGOPTS_H
6: #define HATARI_CFGOPTS_H
7:
8: typedef enum
9: {
10: Error_Tag,
11: Bool_Tag,
12: Char_Tag,
13: Short_Tag,
14: Int_Tag,
15: Long_Tag,
16: Float_Tag,
17: Double_Tag,
1.1.1.5 ! root 18: String_Tag,
! 19: Key_Tag
1.1.1.2 root 20: } TAG_TYPE;
21:
22:
23: struct Config_Tag
24: {
1.1.1.3 root 25: const char *code; /* Option switch */
1.1.1.2 root 26: TAG_TYPE type; /* Type of option */
27: void *buf; /* Storage location */
28: };
29:
1.1.1.3 root 30: int input_config(const char *, const struct Config_Tag *, const char *);
31: int update_config(const char *, const struct Config_Tag *, const char *);
1.1.1.2 root 32:
33: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.