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