Ethereal-dev: [Ethereal-dev] Problems with the latest changes to asn2eth NO_PROT_PREFIX

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Tue, 4 Jan 2005 22:19:38 +0100
Hi,
It seems like the value string handling inside the program is not affected
by the directive only the header file is changed.
#.EXPORTS
#---------------------------------------------------------------------------
-------------
NonStandardParameter	 		
RasMessage			WITH_VALS ETH_VAR NO_PROT_PREFIX
H323-UU-PDU/h323-message-body	ONLY_VALS ETH_VAR NO_PROT_PREFIX

Compile gives:
packet-h225.c
packet-h225.c(8772) : error C2065: 'h225_T_h323_message_body_vals' :
undeclared
identifier
:
:
Header file is correct:
:
/*--- Included file: packet-H225-exp.h ---*/

ETH_VAR_IMPORT const value_string T_h323_message_body_vals[];
:
But in hf array:
    { &hf_h225_h323_message_body,
      { "h323-message-body", "h225.h323_message_body",
        FT_UINT32, BASE_DEC, VALS(h225_T_h323_message_body_vals), 0,
        "H323-UU-PDU/h323-message-body", HFILL }},

Best regards
Anders