diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-03-23 21:19:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-03-23 21:19:58 +0000 |
commit | 121f06fab70d77c4babb512924b2b8d3c3921944 (patch) | |
tree | 9dba3131d845040ea0ab402a8b3e4a5147d5d315 /plugins/plugin_api.h | |
parent | bf1315c25615bdd7d5ebff4245d8ba37b525871e (diff) |
Make "epan_init()" take, as additional arguments, pointers to routines
that dissectors should call to report file open and read errors, and
have "report_open_failure()" and "report_read_failure()" call through
those pointers, rather than being defined and exported by the
application using libethereal - instead, the application would define
those functions and pass pointers to them to 'epan_init()".
Move "report_err.h" to the epan directory, as the functions it declares
are now part of the libethereal API.
svn path=/trunk/; revision=10470
Diffstat (limited to 'plugins/plugin_api.h')
-rw-r--r-- | plugins/plugin_api.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_api.h b/plugins/plugin_api.h index b47f713aed..15a49461a6 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.60 2004/03/04 07:07:03 guy Exp $ + * $Id: plugin_api.h,v 1.61 2004/03/23 21:19:57 guy Exp $ * * Ethereal - Network traffic analyzer * Copyright 2000 by Gilbert Ramirez <gram@alumni.rice.edu> @@ -45,6 +45,7 @@ #include <epan/packet.h> #include <epan/conversation.h> +#include <epan/report_err.h> #include "prefs.h" #include "reassemble.h" #include "packet-giop.h" @@ -57,7 +58,6 @@ #include "xdlc.h" #include "epan/except.h" #include "epan/filesystem.h" -#include "report_err.h" #include "plugin_table.h" |