aboutsummaryrefslogtreecommitdiff
path: root/include/cu/string.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 16:20:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-04-30 16:20:01 +0300
commitdbcb4228e0301c241b5d921fd64e6d6139f714e3 (patch)
tree09bf856ac97e953a27a74f87f61135fddbf8af2a /include/cu/string.h
parent2ca159fb5c2a52f33c499eef1fa50a98a863b0f0 (diff)
downloadek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.tar.gz
ek-dbcb4228e0301c241b5d921fd64e6d6139f714e3.zip
rename to ek
Diffstat (limited to 'include/cu/string.h')
-rw-r--r--include/cu/string.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/include/cu/string.h b/include/cu/string.h
deleted file mode 100644
index 75d7c62..0000000
--- a/include/cu/string.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* SPDX-License-Identifier: GPL-3.0-or-later */
-
-#ifndef CT_STRING_H
-#define CT_STRING_H
-
-#include <stddef.h>
-#include <string.h>
-#include <stdbool.h>
-
-struct string {
- size_t len;
- char *buf;
-};
-
-struct string *new_string(const char *s);
-void destroy_string(struct string *s);
-
-int str_append(struct string *s, char c);
-int str_concat(struct string *s, const char *c);
-int str_add(struct string *s, struct string *c);
-
-char str_index(struct string *s, size_t i);
-char str_rindex(struct string *s, size_t i);
-
-bool str_compare(struct string *s, const char *c);
-void str_clear(struct string *s);
-
-#endif /* CT_STRING_H */