13 lines
350 B
C
13 lines
350 B
C
#ifndef CLI_INTERNAL_PARSE_UTILS
|
|
#define CLI_INTERNAL_PARSE_UTILS
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
int cli_parse_uint64(const char *s, uint64_t *out);
|
|
int cli_parse_float(const char *s, float *out);
|
|
int cli_parse_ufloat(const char *s, float *out);
|
|
int cli_parse_hex(const char *str, uint8_t *out, size_t max_len, size_t
|
|
*out_len);
|
|
|
|
#endif
|