summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/corba-idl/parlay/policy_data.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/corba-idl/parlay/policy_data.idl
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/corba-idl/parlay/policy_data.idl')
-rw-r--r--epan/dissectors/corba-idl/parlay/policy_data.idl146
1 files changed, 146 insertions, 0 deletions
diff --git a/epan/dissectors/corba-idl/parlay/policy_data.idl b/epan/dissectors/corba-idl/parlay/policy_data.idl
new file mode 100644
index 0000000..b1e5056
--- /dev/null
+++ b/epan/dissectors/corba-idl/parlay/policy_data.idl
@@ -0,0 +1,146 @@
+//Source file: policy_data.idl
+//Date: 13 October 2004
+//Policy Management Data Types for ES 203 915-13 V1.1.1, DES/TISPAN-01005-13-OSA, Parlay 5.0
+
+#ifndef __POLICY_DATA_DEFINED
+#define __POLICY_DATA_DEFINED
+
+
+#include "osa.idl"
+
+module org {
+
+ module csapi {
+
+ module policy {
+
+
+ enum TpPolicyConditionListType {
+
+ P_PM_DNF,
+ P_PM_CNF
+ };
+
+
+ enum TpPolicyConditionType {
+
+ P_PM_TIME_PERIOD_CONDITION,
+ P_PM_EVENT_CONDITION,
+ P_PM_EXPRESSION_CONDITION
+ };
+
+
+ enum TpPolicyActionType {
+
+ P_PM_EVENT_ACTION,
+ P_PM_EXPRESSION_ACTION
+ };
+
+
+ struct TpPolicyEvent {
+ TpInt32 EventID;
+ TpDateAndTime TimeGenerated;
+ TpAttributeSet Attributes;
+ TpString EventDefinitionName;
+ TpString EventDomainName;
+ };
+
+
+ typedef TpString TpPolicyKeyword;
+
+
+ typedef sequence <TpPolicyKeyword> TpPolicyKeywordSet;
+
+
+ exception P_ACCESS_VIOLATION {
+ TpString ExtraInformation;
+ };
+
+
+ exception P_SYNTAX_ERROR {
+ TpString ExtraInformation;
+ };
+
+
+ exception P_NAME_SPACE_ERROR {
+ TpString ExtraInformation;
+ };
+
+
+ exception P_NO_TRANSACTION_IN_PROCESS {
+ TpString ExtraInformation;
+ };
+
+
+ exception P_TRANSACTION_IN_PROCESS {
+ TpString ExtraInformation;
+ };
+
+
+ typedef TpInt32 TpPolicyError;
+
+
+ const TpPolicyError P_PM_ERROR_UNDEFINED = 0;
+
+ const TpPolicyError P_PM_ERROR_INSUFFICIENT_INPUTS = 1;
+
+ const TpPolicyError P_PM_ERROR_INVALID_INPUT_NAME = 2;
+
+ const TpPolicyError P_PM_ERROR_INVALID_INPUT_VALUE = 3;
+
+ const TpPolicyError P_PM_ERROR_EVALUATION_ERROR = 5;
+
+ const TpPolicyError P_PM_ERROR_DB_ERROR = 4;
+
+ enum TpPolicyTypeInfo {
+
+ P_PM_SIMPLE_TYPE,
+ P_PM_TYPE_RECORD,
+ P_PM_TYPE_LIST,
+ P_PM_STRUCTURED_TYPE,
+ P_PM_XML_TYPE
+ };
+
+
+ struct TpPolicyNameValue {
+ TpString Name;
+ TpAny Value;
+ };
+
+
+ typedef sequence <TpPolicyNameValue> TpPolicyNameValueList;
+
+
+ union TpPolicyType switch(TpPolicyTypeInfo) {
+ case P_PM_SIMPLE_TYPE: TpSimpleAttributeTypeInfo SimpleType;
+ case P_PM_TYPE_RECORD:
+ struct TpPolicyRecordType {
+ sequence<TpString> Names;
+ sequence<TpPolicyType> Types;
+ } RecordType;
+ case P_PM_TYPE_LIST:
+ struct TpPolicyListType {
+ sequence<TpPolicyType,1> ElementType;
+ } ListType;
+ case P_PM_STRUCTURED_TYPE: TpStructuredAttributeType StructuredType;
+ case P_PM_XML_TYPE: TpXMLString XMLString;
+ };
+
+
+ struct TpPolicyVar {
+ TpString VarName;
+ TpPolicyType VarType;
+ TpAny VarValue;
+ };
+
+
+ typedef sequence <TpPolicyVar> TpPolicyVarSet;
+
+
+ };
+
+ };
+
+};
+
+#endif