summaryrefslogtreecommitdiff
path: root/src/strops.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-09-13 12:40:22 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-09-13 12:40:22 +0200
commitd8a9d534a5a39fd3d51a6ffaf92fde39a4b4077c (patch)
treeeb15c2c464147b467417684fbaaebfd37da89bc3 /src/strops.cpp
parentfb1ae39f1abe0dd0335489451e09a24e2336e606 (diff)
save file import: contact, project, tax brackets, cost centers, administration info
Diffstat (limited to 'src/strops.cpp')
-rw-r--r--src/strops.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/strops.cpp b/src/strops.cpp
index 208aaed..6179f82 100644
--- a/src/strops.cpp
+++ b/src/strops.cpp
@@ -4,6 +4,11 @@
#include "strops.hpp"
+bool strops_prefix(const char *pre, const char *str)
+{
+ return strncmp(pre, str, strlen(pre)) == 0;
+}
+
size_t strops_copy(char *dst, const char *src, size_t size)
{
size_t srclen;