summaryrefslogtreecommitdiff
path: root/util/libreboot-utils/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-25 07:27:13 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-25 07:51:51 +0000
commite1ff02f323b747d49a6c20c5d3d89702fd1677ba (patch)
tree8cd595cb20f614057b78b5bacbe168fafccc758f /util/libreboot-utils/include
parent5f93b7faec18a3eddcb3af3302bf0efa268de221 (diff)
util/libreboot-utils: added more string functions
also reset pointer values because i can Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/include')
-rw-r--r--util/libreboot-utils/include/common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h
index da086425..97bbdf0c 100644
--- a/util/libreboot-utils/include/common.h
+++ b/util/libreboot-utils/include/common.h
@@ -384,7 +384,13 @@ int slen(const char *scmp, size_t maxlen,
size_t *rval);
int scmp(const char *a, const char *b,
size_t maxlen, int *rval);
-
+int sdup(const char *s,
+ size_t n, char **dest);
+int scat(const char *s1, const char *s2,
+ size_t n, char **dest);
+int dcat(const char *s, size_t n,
+ size_t off, char **dest1,
+ char **dest2);
/* numerical functions
*/