change the signature that asn2wrs generates for functions to marm all parameters...
[obnox/wireshark/wip.git] / epan / dissectors / packet-h225.h
index 4315ced88a839a71d2f9671af275dd4151566dfa..f1757f9d5cc68a7ec255bef83927378ed4f8590a 100644 (file)
@@ -1,18 +1,19 @@
 /* Do not modify this file.                                                   */
-/* It is created automatically by the ASN.1 to Ethereal dissector compiler    */
-/* .\packet-h225.h                                                            */
-/* ../../tools/asn2eth.py -X -e -p h225 -c h225.cnf -s packet-h225-template h225.asn */
+/* It is created automatically by the ASN.1 to Wireshark dissector compiler   */
+/* ./packet-h225.h                                                            */
+/* ../../tools/asn2wrs.py -e -p h225 -c h225.cnf -s packet-h225-template H323-MESSAGES.asn */
 
 /* Input file: packet-h225-template.h */
 
+#line 1 "packet-h225-template.h"
 /* packet-h225.h
  * Routines for h225 packet dissection
  * Copyright 2005, Anders Broman <anders.broman@ericsson.com>
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -62,7 +63,7 @@ typedef struct _h225_packet_info {
        gint msg_tag;                   /* message tag*/
        gint reason;                    /* reason tag, if available */
        guint requestSeqNum;            /* request sequence number of ras-message, if available */
-       guint8 guid[16];                /* globally unique call id */
+       e_guid_t guid;                  /* globally unique call id */
        gboolean is_duplicate;          /* true, if this is a repeated message */
        gboolean request_available;     /* true, if response matches to a request */
        nstime_t delta_time;            /* this is the RAS response time delay */
@@ -72,47 +73,51 @@ typedef struct _h225_packet_info {
        gboolean is_h245Tunneling;
        guint32 h245_address;
        guint16 h245_port;
+       gchar dialedDigits[129]; /* Dialed Digits in the LRQ and LCF used for voip analysis */
+       gboolean is_destinationInfo;
        gchar frame_label[50]; /* the Fram label used by graph_analysis, what is a abreviation of cinfo */
 } h225_packet_info;
 
 /*
  * the following allows TAP code access to the messages
  * without having to duplicate it. With MSVC and a 
- * libethereal.dll, we need a special declaration.
+ * libwireshark.dll, we need a special declaration.
  */
 
+#include <epan/dissectors/packet-per.h>
 
 
 /*--- Included file: packet-h225-exp.h ---*/
-
-ETH_VAR_IMPORT const value_string T_h323_message_body_vals[];
-ETH_VAR_IMPORT const value_string ReleaseCompleteReason_vals[];
+#line 1 "packet-h225-exp.h"
+WS_VAR_IMPORT const value_string T_h323_message_body_vals[];
+WS_VAR_IMPORT const value_string ReleaseCompleteReason_vals[];
 extern const value_string h225_PresentationIndicator_vals[];
 extern const value_string h225_ScreeningIndicator_vals[];
-ETH_VAR_IMPORT const value_string FacilityReason_vals[];
+WS_VAR_IMPORT const value_string FacilityReason_vals[];
 extern const value_string AliasAddress_vals[];
 extern const value_string h225_PartyNumber_vals[];
-ETH_VAR_IMPORT const value_string RasMessage_vals[];
-ETH_VAR_IMPORT const value_string GatekeeperRejectReason_vals[];
-ETH_VAR_IMPORT const value_string RegistrationRejectReason_vals[];
-ETH_VAR_IMPORT const value_string UnregRequestReason_vals[];
-ETH_VAR_IMPORT const value_string UnregRejectReason_vals[];
-ETH_VAR_IMPORT const value_string AdmissionRejectReason_vals[];
-ETH_VAR_IMPORT const value_string BandRejectReason_vals[];
-ETH_VAR_IMPORT const value_string LocationRejectReason_vals[];
-ETH_VAR_IMPORT const value_string DisengageReason_vals[];
-ETH_VAR_IMPORT const value_string DisengageRejectReason_vals[];
-ETH_VAR_IMPORT const value_string InfoRequestNakReason_vals[];
-int dissect_h225_PresentationIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_ScreeningIndicator(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_NonStandardParameter(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_AliasAddress(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_PartyNumber(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_CallIdentifier(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
-int dissect_h225_RasMessage(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
+WS_VAR_IMPORT const value_string RasMessage_vals[];
+WS_VAR_IMPORT const value_string GatekeeperRejectReason_vals[];
+WS_VAR_IMPORT const value_string RegistrationRejectReason_vals[];
+WS_VAR_IMPORT const value_string UnregRequestReason_vals[];
+WS_VAR_IMPORT const value_string UnregRejectReason_vals[];
+WS_VAR_IMPORT const value_string AdmissionRejectReason_vals[];
+WS_VAR_IMPORT const value_string BandRejectReason_vals[];
+WS_VAR_IMPORT const value_string LocationRejectReason_vals[];
+WS_VAR_IMPORT const value_string DisengageReason_vals[];
+WS_VAR_IMPORT const value_string DisengageRejectReason_vals[];
+WS_VAR_IMPORT const value_string InfoRequestNakReason_vals[];
+int dissect_h225_PresentationIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_ScreeningIndicator(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_AliasAddress(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_PartyNumber(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_CallIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_GenericData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+int dissect_h225_RasMessage(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
 
 /*--- End of included file: packet-h225-exp.h ---*/
-
+#line 82 "packet-h225-template.h"
 
 #endif  /* PACKET_H225_H */