added fill_str_dated_filename() prototype

This commit is contained in:
meleu 2016-08-19 08:49:09 -03:00 committed by GitHub
parent 4e44ab99a1
commit e1f4b41bb6

View File

@ -194,6 +194,22 @@ void fill_pathname(char *out_path, const char *in_path,
void fill_dated_filename(char *out_filename,
const char *ext, size_t size);
/**
* fill_str_dated_filename:
* @out_filename : output filename
* @in_str : input string
* @ext : extension of output filename
* @size : buffer size of output filename
*
* Creates a 'dated' filename prefixed by the string @in_str, and
* concatenates extension (@ext) to it.
*
* E.g.:
* out_filename = "RetroArch-{year}{month}{day}-{Hour}{Minute}{Second}.{@ext}"
**/
void fill_str_dated_filename(char *out_filename,
const char *in_str, const char *ext, size_t size);
/**
* fill_pathname_noext:
* @out_path : output path