diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-02-02 03:42:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-02-02 03:42:18 +0000 |
commit | 0afa2b5aeba1e2c9db2c8468d258783c8f5ccbe0 (patch) | |
tree | dee4124c445edcac68a95fd668ecb79b2e296c31 /plugins/plugin_api.h | |
parent | f8359e84a9aadeaa307ecfb1a86a5395b4926877 (diff) | |
download | wireshark-0afa2b5aeba1e2c9db2c8468d258783c8f5ccbe0.tar.gz wireshark-0afa2b5aeba1e2c9db2c8468d258783c8f5ccbe0.tar.bz2 wireshark-0afa2b5aeba1e2c9db2c8468d258783c8f5ccbe0.zip |
Routines added to the plugin table, and include-once #ifndef/#define
wrappers added to plugin header files, by Charlie Duke.
svn path=/trunk/; revision=4676
Diffstat (limited to 'plugins/plugin_api.h')
-rw-r--r-- | plugins/plugin_api.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h index 7b29baaf44..9f5ce16a96 100644 --- a/plugins/plugin_api.h +++ b/plugins/plugin_api.h @@ -1,7 +1,7 @@ /* plugin_api.h * Routines for Ethereal plugins. * - * $Id: plugin_api.h,v 1.35 2002/01/29 08:44:51 guy Exp $ + * $Id: plugin_api.h,v 1.36 2002/02/02 03:42:18 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -21,6 +21,9 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef PLUGIN_API_H +#define PLUGIN_API_H + #ifdef PLUGINS_NEED_ADDRESS_TABLE /* Some OSes (Win32) have DLLs that cannot reference symbols in the parent @@ -112,6 +115,10 @@ #define tvb_new_subset (*p_tvb_new_subset) +#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) + #define tvb_length (*p_tvb_length) #define tvb_length_remaining (*p_tvb_length_remaining) #define tvb_bytes_exist (*p_tvb_bytes_exist) @@ -204,3 +211,5 @@ void plugin_address_table_init(plugin_address_table_t*); #else #define plugin_address_table_init(x) ; #endif + +#endif /* PLUGIN_API_H */ |