diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-04-20 17:52:32 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-20 21:11:49 +0000 |
commit | 07e270124e7832ad81fcac715851e237f76f4c79 (patch) | |
tree | 0f58b62e25b5fb953323688c2fa062810b5c1b5b /epan/wmem/wmem_list.h | |
parent | d37734256c77ae99cb1cc93a4d2d1959584109a6 (diff) |
wmem: add foreach function to wmem_list.
Makes wmem_list more similar to glib lists.
Change-Id: Ifadf0627791a72c4118a14f205aa1a7189894d27
Reviewed-on: https://code.wireshark.org/review/15019
Reviewed-by: Anders Broman <a.broman58@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 bc4bba0811..d48b3fd74c 100644 --- a/epan/wmem/wmem_list.h +++ b/epan/wmem/wmem_list.h @@ -102,6 +102,10 @@ G_GNUC_MALLOC; WS_DLL_PUBLIC void +wmem_list_foreach(wmem_list_t *list, GFunc foreach_func, gpointer user_data); + +WS_DLL_PUBLIC +void wmem_destroy_list(wmem_list_t *list); /** @} |