diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2018-01-15 00:22:51 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-17 10:44:30 +0100 |
commit | ee8e839569db30fc1d1a7fb712c4a81f6c0089b7 (patch) | |
tree | 40035b4c262995eb0b84e835b521139ce1f9ce65 /include | |
parent | e1ac1912755a8999bc110f2e6cf6e17965bece3d (diff) | |
download | barebox-ee8e839569db30fc1d1a7fb712c4a81f6c0089b7.tar.gz barebox-ee8e839569db30fc1d1a7fb712c4a81f6c0089b7.tar.xz |
parseopt: introduce parseopt_u16() and parseopt_str()
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/parseopt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/parseopt.h b/include/parseopt.h index becc734c2b..1f9763f8c9 100644 --- a/include/parseopt.h +++ b/include/parseopt.h @@ -3,5 +3,7 @@ void parseopt_b(const char *options, const char *opt, bool *val); void parseopt_hu(const char *options, const char *opt, unsigned short *val); +void parseopt_u16(const char *options, const char *opt, uint16_t *val); +void parseopt_str(const char *options, const char *opt, char **val); #endif /* __PARSEOPT_H__ */ |