* Copyright 2002, Jaime Fournier <jafour1@yahoo.com>
* This information is based off the released idl files from opengroup.
*
- * $Id: packet-dcerpc-dce122.c,v 1.1 2002/09/17 09:38:03 sahlberg Exp $
+ * $Id: packet-dcerpc-dce122.c,v 1.2 2002/09/18 12:12:50 sahlberg Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#include "epan/value_string.h"
#include "packet-dcerpc-dce122.h"
-static const value_string dce_error_vals[] = {
+const value_string dce_error_vals[] = {
{ 0, "SUCCESS", },
{ 539918337, "event already in set" },
{ 539918338, "event still part of some set" },
* This information is based off the released idl files from opengroup.\r
* ftp://ftp.opengroup.org/pub/dce122/dce/src/time.tar.gz time/service/dtsprovider.idl\r
*\r
- * $Id: packet-dcerpc-dtsprovider.c,v 1.2 2002/09/17 09:38:04 sahlberg Exp $\r
+ * $Id: packet-dcerpc-dtsprovider.c,v 1.3 2002/09/18 12:12:50 sahlberg Exp $\r
*\r
* Ethereal - Network traffic analyzer\r
* By Gerald Combs <gerald@ethereal.com>\r
\r
static int proto_dtsprovider = -1;\r
static int hf_dtsprovider_opnum = -1;\r
+static int hf_dtsprovider_status = -1;\r
\r
\r
static gint ett_dtsprovider = -1;\r
static hf_register_info hf[] = {\r
{ &hf_dtsprovider_opnum,\r
{ "Operation", "dtsprovider.opnum", FT_UINT16, BASE_DEC,\r
- VALS(dtsprovider_opnum_vals), 0x0, "Operation", HFILL }}\r
+ VALS(dtsprovider_opnum_vals), 0x0, "Operation", HFILL }},\r
+ { &hf_dtsprovider_status,\r
+ { "Status", "dtsprovider.status", FT_UINT32, BASE_DEC,\r
+ VALS(dce_error_vals), 0x0, "Return code, status of executed command", HFILL }}\r
};\r
\r
static gint *ett[] = {\r