Add common routines for command-line libwiretap error reporting.
authorGuy Harris <guy@alum.mit.edu>
Thu, 20 Apr 2017 02:21:11 +0000 (19:21 -0700)
committerGuy Harris <guy@alum.mit.edu>
Thu, 20 Apr 2017 02:21:58 +0000 (02:21 +0000)
commit347a19ae9629ad06ab597a176672c9098c9af64a
tree859f885bc1280b9e920033562a87b251e84ecf56
parent9e8bc9fee87c99944bfe52e27498d759e7235701
Add common routines for command-line libwiretap error reporting.

These are similar to the routines added to ui/alert_box.c for dialog-box
libwiretap error reporting.

This centralizes the knowledge about what to say for various libwiretap
errors, removing some duplicate code, and giving more details in some
programs.

Change-Id: I737405c4edaa0e6c27840f78a8c587a8b3ee120b
Reviewed-on: https://code.wireshark.org/review/21234
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Makefile.am
editcap.c
rawshark.c
sharkd.c
tshark.c
ui/CMakeLists.txt
ui/Makefile.am
ui/failure_message.c [new file with mode: 0644]
ui/failure_message.h [new file with mode: 0644]