mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
[misc] Add an in-place string replacement function
This commit is contained in:
@@ -87,6 +87,8 @@ safe_asprintf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
int
|
||||
safe_snprintf_cat(char *dst, size_t n, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));
|
||||
|
||||
int
|
||||
safe_snreplace(char *s, size_t sz, const char *pattern, const char *replacement);
|
||||
|
||||
/* Key/value functions */
|
||||
struct keyval *
|
||||
|
||||
Reference in New Issue
Block a user