Super Derpy: Muffin Attack
 All Classes Files Functions Variables Enumerations Macros
Functions | Variables
config.c File Reference

Configuration manager code. More...

#include <allegro5/allegro.h>
#include "config.h"

Functions

void InitConfig ()
 Reads config from file into memory.
void SetConfigOption (char *section, char *name, char *value)
 Sets new value of requested config entry, or created new if no such entry exists.
const char * GetConfigOption (char *section, char *name)
 Returns value of requested config entry.
const char * GetConfigOptionDefault (char *section, char *name, const char *def)
 Returns value of requested config entry, or def if no such entry exists.
void DeinitConfig ()
 Writes config from memory to file.

Variables

ALLEGRO_CONFIG * config

Detailed Description

Configuration manager code.