option_list.h
Go to the documentation of this file.
00001 #ifndef OPTION_LIST_H
00002 #define OPTION_LIST_H
00003 #include "list.h"
00004 
00005 typedef struct{
00006     char *key;
00007     char *val;
00008     int used;
00009 } kvp;
00010 
00011 
00012 list *read_data_cfg(char *filename);
00013 int read_option(char *s, list *options);
00014 void option_insert(list *l, char *key, char *val);
00015 char *option_find(list *l, char *key);
00016 char *option_find_str(list *l, char *key, char *def);
00017 int option_find_int(list *l, char *key, int def);
00018 int option_find_int_quiet(list *l, char *key, int def);
00019 float option_find_float(list *l, char *key, float def);
00020 float option_find_float_quiet(list *l, char *key, float def);
00021 void option_unused(list *l);
00022 
00023 #endif


rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:30