diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-10-22 22:33:23 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-10-24 21:01:56 +0000 |
commit | 04761f220b77814bfd460da7026b61c7687f687a (patch) | |
tree | e0385aef4fa23d83e138ce300ee513e2e34536aa /epan/wmem/wmem_list.h | |
parent | 79de3f5e2986486b9a3ed55af86644ab746ffe65 (diff) |
Add wmem_list_find_custom()
Change-Id: I5c4f85df0a1899d629386581de2c2c3ec0812d54
Reviewed-on: https://code.wireshark.org/review/18440
Reviewed-by: João Valverde <j@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'epan/wmem/wmem_list.h')
-rw-r--r-- | epan/wmem/wmem_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/wmem/wmem_list.h b/epan/wmem/wmem_list.h index d48b3fd74c..5b510c2977 100644 --- a/epan/wmem/wmem_list.h +++ b/epan/wmem/wmem_list.h @@ -88,6 +88,10 @@ wmem_list_frame_t * wmem_list_find(wmem_list_t *list, const void *data); WS_DLL_PUBLIC +wmem_list_frame_t * +wmem_list_find_custom(wmem_list_t *list, const void *data, GCompareFunc func); + +WS_DLL_PUBLIC void wmem_list_prepend(wmem_list_t *list, void *data); |