Hi,
I would like to add these three functions to the plugins api table so that
plugins which need to display reassembled, decrypted, uncompressed or ASN.1
decoded data etc. can do so.
tvb_new_real_data
tvb_set_child_real_data_tvbuff
tvb_set_free_cb
Below are the diffs:
******************************
diff -r1.37 plugin_table.h
0a1,3
> #ifndef PLUGIN_TABLE_H
> #define PLUGIN_TABLE_H
>
128a132,135
> typedef void (*addr_tvb_set_free_cb)(tvbuff_t*, tvbuff_free_cb_t);
> typedef void (*addr_tvb_set_child_real_data_tvbuff)(tvbuff_t*, tvbuff_t*);
> typedef tvbuff_t* (*addr_tvb_new_real_data)(const guint8*, guint, gint,
const gchar*);
>
294a302,305
> addr_tvb_set_free_cb p_tvb_set_free_cb;
> addr_tvb_set_child_real_data_tvbuff
p_tvb_set_child_real_data_tvbuff;
> addr_tvb_new_real_data p_tvb_new_real_data;
>
376a388
> #endif/*PLUGIN_TABLE_H*/
******************************
diff -r1.10 plugin_api_defs.h
0a1,4
> #ifndef PLUGIN_API_DEFS_H
> #define PLUGIN_API_DEFS_H
>
>
115a120,123
> addr_tvb_set_free_cb p_tvb_set_free_cb;
> addr_tvb_set_child_real_data_tvbuff p_tvb_set_child_real_data_tvbuff;
> addr_tvb_new_real_data p_tvb_new_real_data;
>
185a194
> #endif /*PLUGIN_API_DEFS_H*/
******************************
diff -r1.35 plugin_api.h
0a1,4
> #ifndef PLUGIN_API_H
> #define PLUGIN_API_H
>
>
114a119,122
> #define tvb_set_free_cb (*p_tvb_set_free_cb)
> #define tvb_set_child_real_data_tvbuff
(*p_tvb_set_child_real_data_tvbuff)
> #define tvb_new_real_data (*p_tvb_new_real_data)
>
206a215,218
>
>
> #endif /*PLUGIN_API_H*/
>
******************************
diff -r1.34 plugin_api.c
105a106,108
> p_tvb_set_free_cb = pat->p_tvb_set_free_cb;
> p_tvb_set_child_real_data_tvbuff =
pat->p_tvb_set_child_real_data_tvbuff;
> p_tvb_new_real_data = pat->p_tvb_new_real_data;
******** END **********************
Thank you,
---
Charlie Duke
Senior Software Engineer
First Virtual Communications, Inc.