PCem

view src/config.h @ 154:d0d530adce12

Initial port to Linux (using Allegro). 64-bit fixes. Some changes to aid portability. A few other tweaks.
author TomW
date Thu Sep 04 21:07:24 2014 +0100
parents 55564c65aa15
children
line source
1 int config_get_int(char *head, char *name, int def);
2 char *config_get_string(char *head, char *name, char *def);
3 void config_set_int(char *head, char *name, int val);
4 void config_set_string(char *head, char *name, char *val);
6 char *get_filename(char *s);
7 void append_filename(char *dest, char *s1, char *s2, int size);
8 void put_backslash(char *s);
10 void config_load(char *fn);
11 void config_save(char *fn);
12 void config_dump();
13 void config_free();
15 extern char config_file_default[256];