From 1fd608288ee47c2c560817f12f14b21069fed2f6 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Sat, 28 Dec 2024 16:47:43 -0800 Subject: makefile and directory structure change completely to build client and server --- include/better_string.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 include/better_string.h (limited to 'include/better_string.h') diff --git a/include/better_string.h b/include/better_string.h deleted file mode 100644 index a5f9954..0000000 --- a/include/better_string.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef STRING_H -#define STRING_H - -#include -#define DEFAULT_STR_SIZE 10 -typedef struct { - char *buf; - size_t len; - size_t size; -} string_t; - -string_t *init_string(const char *source); - -void string_push(string_t *s, char c); - -void string_concat(string_t *s1, string_t *s2); - -void string_concat_const(string_t *s, const char *src); - -char string_pop(string_t *s); - -void string_free(void *s); -#endif -- cgit