X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=linkhash.h;h=950d09f35d70cf026852c9d50cb85a3129944e3c;hb=b679e7a66eb98306bc458b33d962a9328ce9ab28;hp=bbb5488604066bbecc0fc5d8964f9a554102158d;hpb=82ad338341b5aa4abacdebf0666e27fd57af8102;p=platform%2Fupstream%2Fjson-c.git diff --git a/linkhash.h b/linkhash.h index bbb5488..950d09f 100644 --- a/linkhash.h +++ b/linkhash.h @@ -246,7 +246,7 @@ extern struct lh_entry* lh_table_lookup_entry(struct lh_table *t, const void *k) * @return a pointer to the found value or NULL if it does not exist. * @deprecated Use lh_table_lookup_ex instead. */ -extern const void* lh_table_lookup(struct lh_table *t, const void *k); +THIS_FUNCTION_IS_DEPRECATED(extern const void* lh_table_lookup(struct lh_table *t, const void *k)); /** * Lookup a record in the table @@ -280,6 +280,7 @@ extern int lh_table_delete_entry(struct lh_table *t, struct lh_entry *e); */ extern int lh_table_delete(struct lh_table *t, const void *k); +extern int lh_table_length(struct lh_table *t); void lh_abort(const char *msg, ...); void lh_table_resize(struct lh_table *t, int new_size);