diff options
Diffstat (limited to 'params.h')
-rw-r--r-- | params.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -20,6 +20,8 @@ #ifndef PARAMS_H #define PARAMS_H +extern char *datadir; + struct flashparams { size_t memsz; size_t blksz; @@ -27,6 +29,7 @@ struct flashparams { size_t addrshft; }; -bool getparams(struct flashparams *fp, const char *name); +void readparams(struct flashparams *fp, const char *file); +void listparams(void); #endif /* PARAMS_H */ |