Loading...
Searching...
No Matches
args.h
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5#include <furi.h>
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
18bool args_read_int_and_trim(FuriString* args, int* value);
19
28bool args_read_string_and_trim(FuriString* args, FuriString* word);
29
38bool args_read_probably_quoted_string_and_trim(FuriString* args, FuriString* word);
39
49bool args_read_hex_bytes(FuriString* args, uint8_t* bytes, size_t bytes_count);
50
51/************************************ HELPERS ***************************************/
52
59size_t args_get_first_word_length(FuriString* args);
60
67size_t args_length(FuriString* args);
68
77bool args_char_to_hex(char hi_nibble, char low_nibble, uint8_t* byte);
78
79#ifdef __cplusplus
80}
81#endif
Definition string.c:4