diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2017-05-15 15:07:34 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-05-16 04:27:05 +0000 |
commit | 400bff055f697534ca0f1de034c4e38f13454a09 (patch) | |
tree | cc1834380d8ff0cb7e82a99de48cb1ab475113db /epan/uat-int.h | |
parent | bb6e31d8cce2d8b1c56722a816ef608555ece45f (diff) |
sharkd: export uat records.
Move gtk's fld_tostr() to epan API as uat_fld_tostr.
Change-Id: I01e3b66ca9ea3cd1e2e06e2122190ee42b9ad44b
Reviewed-on: https://code.wireshark.org/review/21664
Petri-Dish: Jakub Zawadzki <darkjames-ws@darkjames.pl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/uat-int.h')
-rw-r--r-- | epan/uat-int.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h index 2624779e2a..c36a5c136e 100644 --- a/epan/uat-int.h +++ b/epan/uat-int.h @@ -131,6 +131,12 @@ gboolean uat_save(uat_t *uat, char **error); void uat_load_all(void); /** + * Dump given UAT record to string in form, which can be later loaded with uat_load_str(). + */ +WS_DLL_PUBLIC +char *uat_fld_tostr(void *rec, uat_field_t *f); + +/** * Exposes the array of valid records to the UAT consumer (dissectors), updating * the contents of 'data_ptr' and 'num_items_ptr' (see 'uat_new'). */ |