mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-22 21:01:40 +03:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
35 lines
872 B
C
35 lines
872 B
C
#pragma once
|
|
#include "flipper_format_stream.h"
|
|
|
|
static const char flipper_format_delimiter = ':';
|
|
static const char flipper_format_comment = '#';
|
|
static const char flipper_format_eoln = '\n';
|
|
static const char flipper_format_eolr = '\r';
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* Write Flipper Format EOL to the stream
|
|
* @param stream
|
|
* @return true
|
|
* @return false
|
|
*/
|
|
bool flipper_format_stream_write_eol(Stream* stream);
|
|
|
|
/**
|
|
* Seek to the key from the current position of the stream.
|
|
* Position will be at the beginning of the value corresponding to the key, if the key is found,, or at the end of the stream.
|
|
* @param stream
|
|
* @param key
|
|
* @param strict_mode
|
|
* @return true key is found
|
|
* @return false key is not found
|
|
*/
|
|
bool flipper_format_stream_seek_to_key(Stream* stream, const char* key, bool strict_mode);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|