]> mj.ucw.cz Git - leo.git/blobdiff - dict.h
TODO
[leo.git] / dict.h
diff --git a/dict.h b/dict.h
index 57b94b13b3fc070799567cb0b0cefbf43ca60f30..49d681ee21d6cafd6b3761711ac83087c27cadbd 100644 (file)
--- a/dict.h
+++ b/dict.h
@@ -1,11 +1,11 @@
 /*
  *     Hic Est Leo -- Universal Dictionaries
  *
- *     (c) 2014 Martin Mares <mj@ucw.cz>
+ *     (c) 2014--2015 Martin Mares <mj@ucw.cz>
  */
 
-#ifndef _BRUM_DICT_H
-#define _BRUM_DICT_H
+#ifndef _LEO_DICT_H
+#define _LEO_DICT_H
 
 #include <ucw/gary.h>
 
@@ -24,6 +24,7 @@ static inline const char *dict_decode(struct dict *d, u32 id)
 }
 
 u32 dict_encode(struct dict *d, const char *key);
+u32 dict_encode_if_exists(struct dict *d, const char *key);
 
 static inline u32 dict_size(struct dict *d)
 {