mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 04:53:08 +00:00
ffa3996a5e
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
35 lines
940 B
C
35 lines
940 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/** Generates detailed/random name based on furi_hal flags
|
|
*
|
|
* @param name buffer to write random name
|
|
* @param max_name_size length of given buffer
|
|
* @param[in] prefix The prefix of the name
|
|
*/
|
|
void name_generator_make_auto(char* name, size_t max_name_size, const char* prefix);
|
|
|
|
/** Generates random name
|
|
*
|
|
* @param name buffer to write random name
|
|
* @param max_name_size length of given buffer
|
|
*/
|
|
void name_generator_make_random(char* name, size_t max_name_size);
|
|
|
|
/** Generates detailed name
|
|
*
|
|
* @param name buffer to write random name
|
|
* @param max_name_size length of given buffer
|
|
* @param[in] prefix The prefix of the name
|
|
*/
|
|
void name_generator_make_detailed(char* name, size_t max_name_size, const char* prefix);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|