You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
6 years ago | |
|---|---|---|
| README.MD | 6 years ago | |
| main.c | 6 years ago | |
| makefile | 6 years ago | |
| read_cfg.c | 6 years ago | |
| read_cfg.h | 6 years ago | |
| test.cfg | 6 years ago | |
README.MD
Super Lightweight config parser function
Usage
pointer=read_cfg(file)
where file is a string of a filepath.
Will return a pointer to a struct defined in read_cfg.h
This pointer should be freed once you are done setting your options.
Will return 0 if file could not be found.