]> mj.ucw.cz Git - leo.git/blobdiff - dict.h
TODO
[leo.git] / dict.h
diff --git a/dict.h b/dict.h
index f214bd7bf8be952c457841e3a9f6306e48278bd5..49d681ee21d6cafd6b3761711ac83087c27cadbd 100644 (file)
--- a/dict.h
+++ b/dict.h
@@ -1,7 +1,7 @@
 /*
  *     Hic Est Leo -- Universal Dictionaries
  *
- *     (c) 2014 Martin Mares <mj@ucw.cz>
+ *     (c) 2014--2015 Martin Mares <mj@ucw.cz>
  */
 
 #ifndef _LEO_DICT_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)
 {