|
|
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,
18: String_Tag,
19: } TAG_TYPE;
20:
21:
22: struct Config_Tag
23: {
1.1.1.3 ! root 24: const char *code; /* Option switch */
1.1.1.2 root 25: TAG_TYPE type; /* Type of option */
26: void *buf; /* Storage location */
27: };
28:
1.1.1.3 ! root 29: int input_config(const char *, const struct Config_Tag *, const char *);
! 30: int update_config(const char *, const struct Config_Tag *, const char *);
1.1.1.2 root 31:
32: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.