From d6b915a043f868611d49e814730ffc2f7c82a048 Mon Sep 17 00:00:00 2001 From: Hyder Hadi Date: Tue, 9 Jun 2026 16:33:38 +0300 Subject: Made a simple miniDB during the governmental job XD simple miniDB that has couple of commands, that uses my hashMap implementation to store (key,value) pairs. --- miniDB/db_commands.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 miniDB/db_commands.h (limited to 'miniDB/db_commands.h') diff --git a/miniDB/db_commands.h b/miniDB/db_commands.h new file mode 100644 index 0000000..3e9ec79 --- /dev/null +++ b/miniDB/db_commands.h @@ -0,0 +1,12 @@ +#ifndef DB_COMMANDS_H +#define DB_COMMANDS_H + +#include "HashMap.h" +#include +#include +#include + +void parse(char *input, char *tokens[], int max_tokens); +int db_commands(struct hashTable *self, FILE *fh, char *fileName); + +#endif \ No newline at end of file -- cgit v1.2.3