#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "option_list.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
char * | option_find (list *l, char *key) |
float | option_find_float (list *l, char *key, float def) |
float | option_find_float_quiet (list *l, char *key, float def) |
int | option_find_int (list *l, char *key, int def) |
int | option_find_int_quiet (list *l, char *key, int def) |
char * | option_find_str (list *l, char *key, char *def) |
void | option_insert (list *l, char *key, char *val) |
void | option_unused (list *l) |
list * | read_data_cfg (char *filename) |
int | read_option (char *s, list *options) |
char* option_find | ( | list * | l, |
char * | key | ||
) |
Definition at line 74 of file option_list.c.
float option_find_float | ( | list * | l, |
char * | key, | ||
float | def | ||
) |
Definition at line 117 of file option_list.c.
float option_find_float_quiet | ( | list * | l, |
char * | key, | ||
float | def | ||
) |
Definition at line 110 of file option_list.c.
int option_find_int | ( | list * | l, |
char * | key, | ||
int | def | ||
) |
Definition at line 95 of file option_list.c.
int option_find_int_quiet | ( | list * | l, |
char * | key, | ||
int | def | ||
) |
Definition at line 103 of file option_list.c.
char* option_find_str | ( | list * | l, |
char * | key, | ||
char * | def | ||
) |
Definition at line 87 of file option_list.c.
void option_insert | ( | list * | l, |
char * | key, | ||
char * | val | ||
) |
Definition at line 53 of file option_list.c.
void option_unused | ( | list * | l | ) |
Definition at line 62 of file option_list.c.
list* read_data_cfg | ( | char * | filename | ) |
Definition at line 7 of file option_list.c.
int read_option | ( | char * | s, |
list * | options | ||
) |
Definition at line 35 of file option_list.c.