Make "epan_init()" take, as additional arguments, pointers to routines
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Mar 2004 21:19:58 +0000 (21:19 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Mar 2004 21:19:58 +0000 (21:19 +0000)
commit7e46a7722c24e5d2fb083bf908c6237246fed327
tree9dba3131d845040ea0ab402a8b3e4a5147d5d315
parent83eea317696851f5456c7fb9b27789ba4cc2c017
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10470 f5534014-38df-0310-8fa8-9805f1628bb7
14 files changed:
Makefile.common
alert_box.c
alert_box.h
dftest.c
epan/Makefile.am
epan/epan.c
epan/epan.h
epan/report_err.h [moved from report_err.h with 96% similarity]
gtk/main.c
packet-diameter.c
plugins/asn1/packet-asn1.c
plugins/plugin_api.h
plugins/plugin_api_list.c
tethereal.c