/* plugins.c
* plugin routines
*
- * $Id: plugins.c,v 1.72 2003/06/04 00:11:02 guy Exp $
+ * $Id: plugins.c,v 1.73 2003/06/12 10:10:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
patable.p_except_setup_try = except_setup_try;
patable.p_col_set_fence = col_set_fence;
+
+ patable.p_tvb_get_string = tvb_get_string;
+ patable.p_tvb_get_stringz = tvb_get_stringz;
#endif
#ifdef WIN32
/* plugin_api.c
* Routines for Ethereal plugins.
*
- * $Id: plugin_api.c,v 1.51 2003/06/03 02:32:55 gerald Exp $
+ * $Id: plugin_api.c,v 1.52 2003/06/12 10:10:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
p_except_setup_try = pat->p_except_setup_try;
p_col_set_fence = pat->p_col_set_fence;
+
+ p_tvb_get_string = pat->p_tvb_get_string;
+ p_tvb_get_stringz = pat->p_tvb_get_stringz;
}
/* plugin_api.h
* Routines for Ethereal plugins.
*
- * $Id: plugin_api.h,v 1.52 2003/06/03 02:32:55 gerald Exp $
+ * $Id: plugin_api.h,v 1.53 2003/06/12 10:10:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
#define col_set_fence (*p_col_set_fence)
+#define tvb_get_string (*p_tvb_get_string)
+#define tvb_get_stringz (*p_tvb_get_stringz)
+
#endif
#include <epan/packet.h>
* Declarations of a list of "p_" names; included in various places
* to declare them as variables or as function members.
*
- * $Id: plugin_api_decls.h,v 1.14 2003/06/03 02:32:56 gerald Exp $
+ * $Id: plugin_api_decls.h,v 1.15 2003/06/12 10:10:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
addr_except_setup_try p_except_setup_try;
addr_col_set_fence p_col_set_fence;
+
+addr_tvb_get_string p_tvb_get_string;
+addr_tvb_get_stringz p_tvb_get_stringz;
/* plugin_table.h
* Table of exported addresses for Ethereal plugins.
*
- * $Id: plugin_table.h,v 1.64 2003/06/03 02:32:56 gerald Exp $
+ * $Id: plugin_table.h,v 1.65 2003/06/12 10:10:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
typedef void (*addr_col_set_fence)(column_info*, gint);
+typedef gint (*addr_tvb_get_string)(tvbuff_t*, gint, gint);
+typedef gint (*addr_tvb_get_stringz)(tvbuff_t*, gint, gint*);
+
typedef struct {
#include "plugin_api_decls.h"