File:  [HATARI the Atari ST Emulator] / hatari / src / includes / cfgopts.h
Revision 1.1.1.5 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 9 08:56:51 2019 UTC (7 years, 1 month ago) by root
Branches: hatari, MAIN
CVS tags: hatari02210, hatari02200, hatari02100, hatari02000, HEAD
hatari 2.0.0

/*
 * Hatari - cfgopts.h
 */

#ifndef HATARI_CFGOPTS_H
#define HATARI_CFGOPTS_H

typedef enum
{
  Error_Tag,
  Bool_Tag,
  Char_Tag,
  Short_Tag,
  Int_Tag,
  Long_Tag,
  Float_Tag,
  Double_Tag,
  String_Tag,
  Key_Tag
} TAG_TYPE;


struct Config_Tag
{
  const char *code;                /* Option switch        */
  TAG_TYPE   type;                 /* Type of option       */
  void       *buf;                 /* Storage location     */
};

int input_config(const char *, const struct Config_Tag *, const char *);
int update_config(const char *, const struct Config_Tag *, const char *);

#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.