Add initial project structure and files

This commit is contained in:
2025-12-18 17:01:21 -07:00
commit f97528f2f0
12 changed files with 229 additions and 0 deletions

0
src/cli.c Normal file
View File

0
src/kv_store.c Normal file
View File

14
src/main.c Normal file
View File

@@ -0,0 +1,14 @@
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("KVStore - Key-Value Store\n");
if (argc > 1) {
printf("Number of arguments: %d\n", argc - 1);
for (int i = 1; i < argc; i++) {
printf("Argument %d: %s\n", i, argv[i]);
}
}
return 0;
}

11
src/string.c Normal file
View File

@@ -0,0 +1,11 @@
#include <stdlib.h>
char *string_copy(const char *src) { return NULL; }
int string_compare(const char *str1, const char *str2) { return -1; }
char *string_trim(const char *str) { return NULL; }
int string_search(const char *src, const char *search) { return -1; }
void string_free(const char *str) {}