aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'c-layman/src/dict.h')
-rw-r--r--c-layman/src/dict.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/c-layman/src/dict.h b/c-layman/src/dict.h
new file mode 100644
index 0000000..86cbbb3
--- /dev/null
+++ b/c-layman/src/dict.h
@@ -0,0 +1,11 @@
+#ifndef DICT_H
+#define DICT_H
+
+typedef struct Dict Dict;
+
+Dict* dictCreate();
+//char* tableFind(Dict *table, char* key);
+void dictFree(Dict *t);
+void dictInsert(Dict* list, const char* key, const char* value);
+unsigned int dictCount(Dict *table);
+#endif