diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-01 20:59:38 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-01 20:59:38 +0000 |
commit | 08eb36b5af5da365087ea19194a0a00bd1310ce2 (patch) | |
tree | bc8a0b2ba1a0816c79a164025e72873a4cbab715 /epan/epan-int.h | |
parent | 6c5e16185dfd4c9e955618f56ac8827ad7eda9e7 (diff) |
Remove fdata->opt_comment, add pkt_comment to pinfo
Original (read from file) comments can be accessed by pkthdr->opt_comment
Keep user comments in seperated BST, add new method for epan session to get it.
svn path=/trunk/; revision=51090
Diffstat (limited to 'epan/epan-int.h')
-rw-r--r-- | epan/epan-int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/epan-int.h b/epan/epan-int.h index 0fa38d0427..7890cd51b4 100644 --- a/epan/epan-int.h +++ b/epan/epan-int.h @@ -24,6 +24,7 @@ #ifndef __EPAN_INT_H__ #define __EPAN_INT_H__ +#include <epan/frame_data.h> #include <wsutil/nstime.h> struct epan_session { @@ -31,6 +32,7 @@ struct epan_session { const nstime_t *(*get_frame_ts)(void *data, guint32 frame_num); const char *(*get_interface_name)(void *data, guint32 interface_id); + const char *(*get_user_comment)(void *data, const frame_data *fd); }; #endif |