diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-06-30 21:50:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-06-30 21:50:18 +0000 |
commit | 862a1f0e4cda355e89ece1d6161464e257d1d31b (patch) | |
tree | ad7478cb57150e37c0832eb4c6264cff7b8c90cf /packet-fcct.h | |
parent | 3fd9b8f6f4ac1dca62c5a672dc7f7a369e64f1e7 (diff) | |
download | wireshark-862a1f0e4cda355e89ece1d6161464e257d1d31b.tar.gz wireshark-862a1f0e4cda355e89ece1d6161464e257d1d31b.tar.bz2 wireshark-862a1f0e4cda355e89ece1d6161464e257d1d31b.zip |
Move definitions of value_string tables out of header files and into
source files, so that they're not defined in every file that includes
the header file, regardless of whether the file uses the table (in which
case it should be defined in one file, and externally referenced in
other files) or not (in which case it should't be defined in that file
at all).
Get rid of a boilerplate comment paragraph that doesn't apply.
svn path=/trunk/; revision=7952
Diffstat (limited to 'packet-fcct.h')
-rw-r--r-- | packet-fcct.h | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/packet-fcct.h b/packet-fcct.h index 6e72154c42..f0116ab239 100644 --- a/packet-fcct.h +++ b/packet-fcct.h @@ -1,6 +1,6 @@ /* packet-fcct.h * - * $Id: packet-fcct.h,v 1.2 2003/03/06 21:55:26 guy Exp $ + * $Id: packet-fcct.h,v 1.3 2003/06/30 21:50:17 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -69,38 +69,7 @@ #define FCCT_PRMBL_SIZE 16 #define FCCT_EXTPRMBL_SIZE 88 -static const value_string fc_ct_rjt_code_vals [] = { - {FCCT_RJT_INVCMDCODE, "Invalid Cmd Code"}, - {FCCT_RJT_INVVERSION, "Invalid Version Level"}, - {FCCT_RJT_LOGICALERR, "Logical Error"}, - {FCCT_RJT_INVSIZE, "Invalid CT_IU Size"}, - {FCCT_RJT_LOGICALBSY, "Logical Busy"}, - {FCCT_RJT_PROTOERR, "Protocol Error"}, - {FCCT_RJT_GENFAIL, "Unable to Perform Cmd"}, - {FCCT_RJT_CMDNOTSUPP, "Cmd Not Supported"}, - {0, NULL}, -}; - -static const value_string fc_ct_gstype_vals[] = { - {FCCT_GSTYPE_KEYSVC, "Key Service"}, - {FCCT_GSTYPE_ALIASSVC, "Alias Service"}, - {FCCT_GSTYPE_MGMTSVC, "Management Service"}, - {FCCT_GSTYPE_TIMESVC, "Time Service"}, - {FCCT_GSTYPE_DIRSVC, "Directory Service"}, - {0, NULL}, -}; - -static const value_string fc_ct_gsserver_vals[] = { - {FCCT_GSRVR_DNS, "dNS"}, - {FCCT_GSRVR_IP, "IP"}, - {FCCT_GSRVR_FCS, "Fabric Config Server"}, - {FCCT_GSRVR_UNS, "Unzoned Name Server"}, - {FCCT_GSRVR_FZS, "Fabric Zone Server"}, - {FCCT_GSRVR_TS, "Time Server"}, - {FCCT_GSRVR_KS, "Key Server"}, - {FCCT_GSRVR_AS, "Alias Server"}, - {0, NULL}, -}; +extern const value_string fc_ct_rjt_code_vals []; typedef struct _fc_ct_preamble { guint32 in_id:24, |