Name generator allow custom datetime

This commit is contained in:
Willy-JL
2024-01-24 02:22:06 +00:00
parent 461026ee27
commit 7e7509d481
3 changed files with 37 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
#include <stdint.h>
#include <stddef.h>
#include <furi_hal_rtc.h>
#ifdef __cplusplus
extern "C" {
@@ -14,6 +15,11 @@ extern "C" {
* @param[in] prefix The prefix of the name
*/
void name_generator_make_auto(char* name, size_t max_name_size, const char* prefix);
void name_generator_make_auto_datetime(
char* name,
size_t max_name_size,
const char* prefix,
FuriHalRtcDateTime* custom_time);
/** Generates random name
*
@@ -31,6 +37,11 @@ void name_generator_make_random_prefixed(char* name, size_t max_name_size, const
* @param[in] prefix The prefix of the name
*/
void name_generator_make_detailed(char* name, size_t max_name_size, const char* prefix);
void name_generator_make_detailed_datetime(
char* name,
size_t max_name_size,
const char* prefix,
FuriHalRtcDateTime* custom_time);
#ifdef __cplusplus
}