summaryrefslogtreecommitdiff
path: root/src/utils/dict.h
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
commitef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77 (patch)
treea8bf79d08ed4fa619e836880f499ec8b29165d42 /src/utils/dict.h
parentdeb36d37e23997aa5352e0a7c2cc99e4a29f0416 (diff)
downloadlibhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.gz
libhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.bz2
Remove init/final and embed entity trie at build time. r=vince
svn path=/trunk/hubbub/; revision=10976
Diffstat (limited to 'src/utils/dict.h')
-rw-r--r--src/utils/dict.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/utils/dict.h b/src/utils/dict.h
deleted file mode 100644
index 9718542..0000000
--- a/src/utils/dict.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of Hubbub.
- * Licensed under the MIT License,
- * http://www.opensource.org/licenses/mit-license.php
- * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org>
- */
-
-#ifndef hubbub_utils_dict_h_
-#define hubbub_utils_dict_h_
-
-#include <inttypes.h>
-
-#include <hubbub/errors.h>
-#include <hubbub/hubbub.h>
-
-typedef struct hubbub_dict hubbub_dict;
-
-/* Create a dictionary */
-hubbub_error hubbub_dict_create(hubbub_allocator_fn alloc, void *pw,
- hubbub_dict **dict);
-/* Destroy a dictionary */
-hubbub_error hubbub_dict_destroy(hubbub_dict *dict);
-
-/* Insert a key-value pair into a dictionary */
-hubbub_error hubbub_dict_insert(hubbub_dict *dict, const char *key,
- const void *value);
-
-/* Step-wise search for a key in a dictionary */
-hubbub_error hubbub_dict_search_step(hubbub_dict *dict, uint8_t c,
- const void **result, void **context);
-
-#endif