summaryrefslogtreecommitdiff
path: root/epan/tap.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-12-07 13:12:39 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-12-07 13:12:39 +0000
commitd12b09b8868be0cf6b8af72c9e6c34921481b08b (patch)
tree0b60cd1a1ca9b2155613aa43bfbc8589fefa2da9 /epan/tap.h
parent56b2184927702fa8bfae70bd63779070869e04bd (diff)
downloadwireshark-d12b09b8868be0cf6b8af72c9e6c34921481b08b.tar.gz
new function fetch_tapped_data()
This function can be called from a dissector to fetch (if any) tapped data from a tap. This can offer an alternative method of passing data between different dissectors much cleaner than the pinfo pollition and private_data design mistake. The SMB2 dissector uses this method to extract vital data such as Account_Name from the ntlmssp dissector (that is 3 leveld down from smb2) svn path=/trunk/; revision=16722
Diffstat (limited to 'epan/tap.h')
-rw-r--r--epan/tap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/tap.h b/epan/tap.h
index 9fc8233b46..2a8fa4cbc3 100644
--- a/epan/tap.h
+++ b/epan/tap.h
@@ -50,5 +50,6 @@ extern GString *register_tap_listener(const char *tapname, void *tapdata,
tap_draw_cb tap_draw);
extern void remove_tap_listener(void *tapdata);
extern gboolean have_tap_listeners(void);
+extern void *fetch_tapped_data(int tap_id, int idx);
#endif