diff options
| author | Hyder Hadi <hyder@hyderhadi.xyz> | 2026-06-09 16:33:38 +0300 |
|---|---|---|
| committer | Hyder Hadi <hyder@hyderhadi.xyz> | 2026-06-09 16:33:38 +0300 |
| commit | d6b915a043f868611d49e814730ffc2f7c82a048 (patch) | |
| tree | e7d6e687de0b40b30a5cadfc1bd35aa1b0c70a1f /miniDB/db_commands.h | |
| parent | 5a6a3dd7c8f535721467248cf5f93f8e0ef1e633 (diff) | |
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.
Diffstat (limited to 'miniDB/db_commands.h')
| -rw-r--r-- | miniDB/db_commands.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <stdio.h> +#include <stdlib.h> +#include <stdlib.h> + +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 |
