From 86a479ba54d00a583c3d766b3d28e38d87da47e2 Mon Sep 17 00:00:00 2001 From: etxrab Date: Wed, 27 Jun 2007 17:02:47 +0000 Subject: Try to fix the last defined but not used warnings(again). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22204 f5534014-38df-0310-8fa8-9805f1628bb7 --- asn1/cmip/packet-cmip-template.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'asn1/cmip/packet-cmip-template.c') diff --git a/asn1/cmip/packet-cmip-template.c b/asn1/cmip/packet-cmip-template.c index 754b37440d..174ba4e823 100644 --- a/asn1/cmip/packet-cmip-template.c +++ b/asn1/cmip/packet-cmip-template.c @@ -82,6 +82,34 @@ static const value_string cmip_Opcode_vals[] = { { 0, NULL } }; +static const value_string cmip_error_code_vals[] = { + { 0, "noSuchObjectClass" }, + { 1, "noSuchObjectInstance" }, + { 2, "accessDenied" }, + { 3, "syncNotSupported" }, + { 4, "invalidFilter" }, + { 5, "noSuchAttribute" }, + { 6, "invalidAttributeValue" }, + { 7, "getListError" }, + { 8, "setListError" }, + { 9, "noSuchAction" }, + { 10, "processingFailure" }, + { 11, "duplicateManagedObjectInstance" }, + { 12, "noSuchReferenceObject" }, + { 13, "noSuchEventType" }, + { 14, "noSuchArgument" }, + { 15, "invalidArgumentValue" }, + { 16, "invalidScope" }, + { 17, "invalidObjectInstance" }, + { 18, "missingAttributeValue" }, + { 19, "classInstanceConflict" }, + { 20, "complexityLimitation" }, + { 21, "mistypedOperation" }, + { 22, "noSuchInvokeId" }, + { 23, "operationCancelled" }, + { 0, NULL } +}; + static int opcode_type; #define OPCODE_INVOKE 1 #define OPCODE_RETURN_RESULT 2 -- cgit v1.2.3