14 lines
386 B
C
14 lines
386 B
C
#ifndef CLI_PARSE_UTILS_H
|
|
#define CLI_PARSE_UTILS_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
int cli_parse_uint64(const char *s, uint64_t *out);
|
|
int cli_parse_int64(const char *s, int64_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
|