diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-11 19:58:59 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-12 04:03:12 +0000 |
commit | 410f9f8c09d7242f0a025c0c2354e26bc86c4007 (patch) | |
tree | db30e00c7281782cbb0c235e0264032256d6b811 /epan/dissectors/packet-dvbci.c | |
parent | f6791c1ab99bc19e1f08c8f2d2af0d4086529ff4 (diff) |
Don't define dvbci_event[] in a header, just declare it.
Define it in a source file, and export it to other users. One instance
suffices (and suppresses "defined but not used" errors from
-Werror=unused-const-variable).
Change-Id: I8b8d624344ec08c777d1869ee2692d535f898f19
Reviewed-on: https://code.wireshark.org/review/13198
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-dvbci.c')
-rw-r--r-- | epan/dissectors/packet-dvbci.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dvbci.c b/epan/dissectors/packet-dvbci.c index 14d3b879d7..ce8c59d21d 100644 --- a/epan/dissectors/packet-dvbci.c +++ b/epan/dissectors/packet-dvbci.c @@ -798,6 +798,15 @@ static const value_string dvbci_apdu_tag[] = { { 0, NULL } }; +WS_DLL_PUBLIC_DEF const value_string dvbci_event[] = { + { DVBCI_EVT_DATA_HOST_TO_CAM, "data transfer Host -> CAM" }, + { DVBCI_EVT_DATA_CAM_TO_HOST, "data transfer CAM -> Host" }, + { DVBCI_EVT_CIS_READ, "read the Card Information Structure (CIS)" }, + { DVBCI_EVT_COR_WRITE, "write into the Configuration Option Register (COR)" }, + { DVBCI_EVT_HW_EVT, "hardware event" }, + { 0, NULL } +}; + static int proto_dvbci = -1; static const gchar *dvbci_sek = NULL; |