45 typedef SaUint64T SaNtfHandleT;
46 typedef SaUint64T SaNtfNotificationHandleT;
47 typedef SaUint64T SaNtfNotificationFilterHandleT;
48 typedef SaUint64T SaNtfReadHandleT;
52 SA_NTF_TYPE_OBJECT_CREATE_DELETE = 0x1000,
53 SA_NTF_TYPE_ATTRIBUTE_CHANGE = 0x2000,
54 SA_NTF_TYPE_STATE_CHANGE = 0x3000,
55 SA_NTF_TYPE_ALARM = 0x4000,
56 SA_NTF_TYPE_SECURITY_ALARM = 0x5000,
57 SA_NTF_TYPE_MISCELLANEOUS = 0x6000
58 } SaNtfNotificationTypeT;
64 #define SA_NTF_NOTIFICATIONS_TYPE_MASK 0xF000
67 SA_NTF_OBJECT_NOTIFICATIONS_START = SA_NTF_TYPE_OBJECT_CREATE_DELETE,
68 SA_NTF_OBJECT_CREATION,
69 SA_NTF_OBJECT_DELETION,
71 SA_NTF_ATTRIBUTE_NOTIFICATIONS_START = SA_NTF_TYPE_ATTRIBUTE_CHANGE,
72 SA_NTF_ATTRIBUTE_ADDED,
73 SA_NTF_ATTRIBUTE_REMOVED,
74 SA_NTF_ATTRIBUTE_CHANGED,
75 SA_NTF_ATTRIBUTE_RESET,
77 SA_NTF_STATE_CHANGE_NOTIFICATIONS_START = SA_NTF_TYPE_STATE_CHANGE,
78 SA_NTF_OBJECT_STATE_CHANGE,
80 SA_NTF_ALARM_NOTIFICATIONS_START = SA_NTF_TYPE_ALARM,
81 SA_NTF_ALARM_COMMUNICATION,
83 SA_NTF_ALARM_PROCESSING,
84 SA_NTF_ALARM_EQUIPMENT,
85 SA_NTF_ALARM_ENVIRONMENT,
87 SA_NTF_SECURITY_ALARM_NOTIFICATIONS_START = SA_NTF_TYPE_SECURITY_ALARM,
88 SA_NTF_INTEGRITY_VIOLATION,
89 SA_NTF_OPERATION_VIOLATION,
90 SA_NTF_PHYSICAL_VIOLATION,
91 SA_NTF_SECURITY_SERVICE_VIOLATION,
92 SA_NTF_TIME_VIOLATION,
94 SA_NTF_MISCELLANEOUS_NOTIFICATIONS_START = SA_NTF_TYPE_MISCELLANEOUS,
95 SA_NTF_APPLICATION_EVENT,
96 SA_NTF_ADMIN_OPERATION_START,
97 SA_NTF_ADMIN_OPERATION_END,
98 SA_NTF_CONFIG_UPDATE_START,
99 SA_NTF_CONFIG_UPDATE_END,
102 SA_NTF_HPI_EVENT_RESOURCE,
103 SA_NTF_HPI_EVENT_SENSOR,
104 SA_NTF_HPI_EVENT_WATCHDOG,
105 SA_NTF_HPI_EVENT_DIMI,
106 SA_NTF_HPI_EVENT_FUMI,
107 SA_NTF_HPI_EVENT_OTHER
110 #if defined(SA_NTF_A01) || defined(SA_NTF_A02)
112 SA_NTF_TYPE_OBJECT_CREATE_DELETE_BIT = 0x0001,
113 SA_NTF_TYPE_ATTRIBUTE_CHANGE_BIT = 0x0002,
114 SA_NTF_TYPE_STATE_CHANGE_BIT = 0x0004,
115 SA_NTF_TYPE_ALARM_BIT = 0x0008,
116 SA_NTF_TYPE_SECURITY_ALARM_BIT = 0x0010
117 } SaNtfNotificationTypeBitsT;
120 #define SA_NTF_OBJECT_CREATION_BIT 0x01
121 #define SA_NTF_OBJECT_DELETION_BIT 0x02
122 #define SA_NTF_ATTRIBUTE_ADDED_BIT 0x04
123 #define SA_NTF_ATTRIBUTE_REMOVED_BIT 0x08
124 #define SA_NTF_ATTRIBUTE_CHANGED_BIT 0x10
125 #define SA_NTF_ATTRIBUTE_RESET_BIT 0x20
126 #define SA_NTF_OBJECT_STATE_CHANGE_BIT 0x40
127 #define SA_NTF_ALARM_COMMUNICATION_BIT 0x80
128 #define SA_NTF_ALARM_QOS_BIT 0x100
129 #define SA_NTF_ALARM_PROCESSING_BIT 0x200
130 #define SA_NTF_ALARM_EQUIPMENT_BIT 0x400
131 #define SA_NTF_ALARM_ENVIRONMENT_BIT 0x800
132 #define SA_NTF_INTEGRITY_VIOLATION_BIT 0x1000
133 #define SA_NTF_OPERATION_VIOLATION_BIT 0x2000
134 #define SA_NTF_PHYSICAL_VIOLATION_BIT 0x4000
135 #define SA_NTF_SECURITY_SERVICE_VIOLATION_BIT 0x8000
136 #define SA_NTF_TIME_VIOLATION_BIT 0x10000
137 #define SA_NTF_ADMIN_OPERATION_START_BIT 0x20000
138 #define SA_NTF_ADMIN_OPERATION_END_BIT 0x40000
139 #define SA_NTF_CONFIG_UPDATE_START_BIT 0x80000
140 #define SA_NTF_CONFIG_UPDATE_END_BIT 0x100000
141 #define SA_NTF_ERROR_REPORT_BIT 0x200000
142 #define SA_NTF_ERROR_CLEAR_BIT 0x400000
143 #define SA_NTF_HPI_EVENT_RESOURCE_BIT 0x800000
144 #define SA_NTF_HPI_EVENT_SENSOR_BIT 0x1000000
145 #define SA_NTF_HPI_EVENT_WATCHDOG_BIT 0x2000000
146 #define SA_NTF_HPI_EVENT_DIMI_BIT 0x4000000
147 #define SA_NTF_HPI_EVENT_FUMI_BIT 0x8000000
148 #define SA_NTF_HPI_EVENT_OTHER_BIT 0x10000000
149 #define SA_NTF_APPLICATION_EVENT_BIT 0x100000000000
151 typedef SaUint64T SaNtfEventTypeBitmapT;
159 #define SA_NTF_VENDOR_ID_SAF 18568
161 typedef SaUint16T SaNtfElementIdT;
163 typedef SaUint64T SaNtfIdentifierT;
165 #define SA_NTF_IDENTIFIER_UNUSED ((SaNtfIdentifierT) 0LL)
168 SaNtfIdentifierT rootCorrelationId;
169 SaNtfIdentifierT parentCorrelationId;
170 SaNtfIdentifierT notificationId;
171 } SaNtfCorrelationIdsT;
176 SA_NTF_VALUE_UINT8 = 1,
186 SA_NTF_VALUE_LDAP_NAME,
189 SA_NTF_VALUE_IPADDRESS,
221 SaUint16T dataOffset;
235 SaUint16T arrayOffset;
236 SaUint16T numElements;
237 SaUint16T elementSize;
243 SaNtfElementIdT infoId;
245 SaNtfValueTypeT infoType;
246 SaNtfValueT infoValue;
247 } SaNtfAdditionalInfoT;
250 SaNtfEventTypeT *eventType;
251 SaNameT *notificationObject;
252 SaNameT *notifyingObject;
253 SaNtfClassIdT *notificationClassId;
255 SaUint16T numCorrelatedNotifications;
256 SaUint16T lengthAdditionalText;
257 SaUint16T numAdditionalInfo;
258 SaNtfIdentifierT *notificationId;
259 SaNtfIdentifierT *correlatedNotifications;
260 SaStringT additionalText;
261 SaNtfAdditionalInfoT *additionalInfo;
262 } SaNtfNotificationHeaderT;
265 SA_NTF_OBJECT_OPERATION = 0,
266 SA_NTF_UNKNOWN_OPERATION = 1,
267 SA_NTF_MANAGEMENT_OPERATION = 2
268 } SaNtfSourceIndicatorT;
271 SaNtfElementIdT attributeId;
272 SaNtfValueTypeT attributeType;
273 SaBoolT oldAttributePresent;
274 SaNtfValueT oldAttributeValue;
275 SaNtfValueT newAttributeValue;
276 } SaNtfAttributeChangeT;
279 SaNtfNotificationHandleT notificationHandle;
280 SaNtfNotificationHeaderT notificationHeader;
281 SaUint16T numAttributes;
282 SaNtfSourceIndicatorT *sourceIndicator;
283 SaNtfAttributeChangeT *changedAttributes;
284 } SaNtfAttributeChangeNotificationT;
287 SaNtfElementIdT attributeId;
288 SaNtfValueTypeT attributeType;
289 SaNtfValueT attributeValue;
293 SaNtfNotificationHandleT notificationHandle;
294 SaNtfNotificationHeaderT notificationHeader;
295 SaUint16T numAttributes;
296 SaNtfSourceIndicatorT *sourceIndicator;
297 SaNtfAttributeT *objectAttributes;
298 } SaNtfObjectCreateDeleteNotificationT;
301 SaNtfElementIdT stateId;
302 SaBoolT oldStatePresent;
308 SaNtfNotificationHandleT notificationHandle;
309 SaNtfNotificationHeaderT notificationHeader;
310 SaUint16T numStateChanges;
311 SaNtfSourceIndicatorT *sourceIndicator;
312 SaNtfStateChangeT *changedStates;
313 } SaNtfStateChangeNotificationT;
316 SA_NTF_ADAPTER_ERROR,
317 SA_NTF_APPLICATION_SUBSYSTEM_FAILURE,
318 SA_NTF_BANDWIDTH_REDUCED,
319 SA_NTF_CALL_ESTABLISHMENT_ERROR,
320 SA_NTF_COMMUNICATIONS_PROTOCOL_ERROR,
321 SA_NTF_COMMUNICATIONS_SUBSYSTEM_FAILURE,
322 SA_NTF_CONFIGURATION_OR_CUSTOMIZATION_ERROR,
325 SA_NTF_CPU_CYCLES_LIMIT_EXCEEDED,
326 SA_NTF_DATASET_OR_MODEM_ERROR,
327 SA_NTF_DEGRADED_SIGNAL,
329 SA_NTF_ENCLOSURE_DOOR_OPEN,
330 SA_NTF_EQUIPMENT_MALFUNCTION,
331 SA_NTF_EXCESSIVE_VIBRATION,
333 SA_NTF_FIRE_DETECTED,
334 SA_NTF_FLOOD_DETECTED,
335 SA_NTF_FRAMING_ERROR,
336 SA_NTF_HEATING_OR_VENTILATION_OR_COOLING_SYSTEM_PROBLEM,
337 SA_NTF_HUMIDITY_UNACCEPTABLE,
338 SA_NTF_INPUT_OUTPUT_DEVICE_ERROR,
339 SA_NTF_INPUT_DEVICE_ERROR,
341 SA_NTF_LEAK_DETECTED,
342 SA_NTF_LOCAL_NODE_TRANSMISSION_ERROR,
343 SA_NTF_LOSS_OF_FRAME,
344 SA_NTF_LOSS_OF_SIGNAL,
345 SA_NTF_MATERIAL_SUPPLY_EXHAUSTED,
346 SA_NTF_MULTIPLEXER_PROBLEM,
347 SA_NTF_OUT_OF_MEMORY,
348 SA_NTF_OUTPUT_DEVICE_ERROR,
349 SA_NTF_PERFORMANCE_DEGRADED,
350 SA_NTF_POWER_PROBLEM,
351 SA_NTF_PRESSURE_UNACCEPTABLE,
352 SA_NTF_PROCESSOR_PROBLEM,
354 SA_NTF_QUEUE_SIZE_EXCEEDED,
355 SA_NTF_RECEIVE_FAILURE,
356 SA_NTF_RECEIVER_FAILURE,
357 SA_NTF_REMOTE_NODE_TRANSMISSION_ERROR,
358 SA_NTF_RESOURCE_AT_OR_NEARING_CAPACITY,
359 SA_NTF_RESPONSE_TIME_EXCESSIVE,
360 SA_NTF_RETRANSMISSION_RATE_EXCESSIVE,
361 SA_NTF_SOFTWARE_ERROR,
362 SA_NTF_SOFTWARE_PROGRAM_ABNORMALLY_TERMINATED,
363 SA_NTF_SOFTWARE_PROGRAM_ERROR,
364 SA_NTF_STORAGE_CAPACITY_PROBLEM,
365 SA_NTF_TEMPERATURE_UNACCEPTABLE,
366 SA_NTF_THRESHOLD_CROSSED,
367 SA_NTF_TIMING_PROBLEM,
368 SA_NTF_TOXIC_LEAK_DETECTED,
369 SA_NTF_TRANSMIT_FAILURE,
370 SA_NTF_TRANSMITTER_FAILURE,
371 SA_NTF_UNDERLYING_RESOURCE_UNAVAILABLE,
372 SA_NTF_VERSION_MISMATCH,
373 SA_NTF_AUTHENTICATION_FAILURE,
374 SA_NTF_BREACH_OF_CONFIDENTIALITY,
376 SA_NTF_DELAYED_INFORMATION,
377 SA_NTF_DENIAL_OF_SERVICE,
378 SA_NTF_DUPLICATE_INFORMATION,
379 SA_NTF_INFORMATION_MISSING,
380 SA_NTF_INFORMATION_MODIFICATION_DETECTED,
381 SA_NTF_INFORMATION_OUT_OF_SEQUENCE,
382 SA_NTF_INTRUSION_DETECTION,
384 SA_NTF_NON_REPUDIATION_FAILURE,
385 SA_NTF_OUT_OF_HOURS_ACTIVITY,
386 SA_NTF_OUT_OF_SERVICE,
387 SA_NTF_PROCEDURAL_ERROR,
388 SA_NTF_UNAUTHORIZED_ACCESS_ATTEMPT,
389 SA_NTF_UNEXPECTED_INFORMATION,
390 SA_NTF_UNSPECIFIED_REASON
391 } SaNtfProbableCauseT;
394 SaNtfElementIdT problemId;
395 SaNtfClassIdT problemClassId;
396 SaNtfValueTypeT problemType;
397 SaNtfValueT problemValue;
398 } SaNtfSpecificProblemT;
401 SA_NTF_SEVERITY_CLEARED,
402 SA_NTF_SEVERITY_INDETERMINATE,
403 SA_NTF_SEVERITY_WARNING,
404 SA_NTF_SEVERITY_MINOR,
405 SA_NTF_SEVERITY_MAJOR,
406 SA_NTF_SEVERITY_CRITICAL
410 SA_NTF_TREND_MORE_SEVERE,
411 SA_NTF_TREND_NO_CHANGE,
412 SA_NTF_TREND_LESS_SEVERE
413 } SaNtfSeverityTrendT;
416 SaNtfElementIdT thresholdId;
417 SaNtfValueTypeT thresholdValueType;
418 SaNtfValueT thresholdValue;
419 SaNtfValueT thresholdHysteresis;
421 SaNtfValueT observedValue;
423 } SaNtfThresholdInformationT;
426 SaNtfElementIdT actionId;
427 SaNtfValueTypeT actionValueType;
428 SaNtfValueT actionValue;
429 } SaNtfProposedRepairActionT;
432 SaNtfNotificationHandleT notificationHandle;
433 SaNtfNotificationHeaderT notificationHeader;
434 SaUint16T numSpecificProblems;
435 SaUint16T numMonitoredAttributes;
436 SaUint16T numProposedRepairActions;
437 SaNtfProbableCauseT *probableCause;
438 SaNtfSpecificProblemT *specificProblems;
439 SaNtfSeverityT *perceivedSeverity;
440 SaNtfSeverityTrendT *trend;
441 SaNtfThresholdInformationT *thresholdInformation;
442 SaNtfAttributeT *monitoredAttributes;
443 SaNtfProposedRepairActionT *proposedRepairActions;
444 } SaNtfAlarmNotificationT;
447 SaNtfValueTypeT valueType;
449 } SaNtfSecurityAlarmDetectorT;
452 SaNtfValueTypeT valueType;
457 SaNtfNotificationHandleT notificationHandle;
458 SaNtfNotificationHeaderT notificationHeader;
459 SaNtfProbableCauseT *probableCause;
460 SaNtfSeverityT *severity;
461 SaNtfSecurityAlarmDetectorT *securityAlarmDetector;
462 SaNtfServiceUserT*serviceUser;
463 SaNtfServiceUserT *serviceProvider;
464 } SaNtfSecurityAlarmNotificationT;
467 SaNtfNotificationHandleT notificationHandle;
468 SaNtfNotificationHeaderT notificationHeader;
469 } SaNtfMiscellaneousNotificationT;
475 #define SA_NTF_ALLOC_SYSTEM_LIMIT (-1)
477 typedef SaUint32T SaNtfSubscriptionIdT;
480 SaUint16T numEventTypes;
481 SaNtfEventTypeT *eventTypes;
482 SaUint16T numNotificationObjects;
483 SaNameT *notificationObjects;
484 SaUint16T numNotifyingObjects;
485 SaNameT *notifyingObjects;
486 SaUint16T numNotificationClassIds;
487 SaNtfClassIdT *notificationClassIds;
488 } SaNtfNotificationFilterHeaderT;
491 SaNtfNotificationFilterHandleT notificationFilterHandle;
492 SaNtfNotificationFilterHeaderT notificationFilterHeader;
493 SaUint16T numSourceIndicators;
494 SaNtfSourceIndicatorT *sourceIndicators;
495 } SaNtfObjectCreateDeleteNotificationFilterT;
498 SaNtfNotificationFilterHandleT notificationFilterHandle;
499 SaNtfNotificationFilterHeaderT notificationFilterHeader;
500 SaUint16T numSourceIndicators;
501 SaNtfSourceIndicatorT *sourceIndicators;
502 } SaNtfAttributeChangeNotificationFilterT;
506 SaNtfNotificationFilterHandleT notificationFilterHandle;
507 SaNtfNotificationFilterHeaderT notificationFilterHeader;
508 SaUint16T numSourceIndicators;
509 SaNtfSourceIndicatorT *sourceIndicators;
510 SaUint16T numStateChanges;
511 SaNtfStateChangeT *changedStates;
512 } SaNtfStateChangeNotificationFilterT;
516 SaNtfNotificationFilterHandleT notificationFilterHandle;
517 SaNtfNotificationFilterHeaderT notificationFilterHeader;
518 SaUint16T numSourceIndicators;
519 SaNtfSourceIndicatorT *sourceIndicators;
520 SaUint16T numStateChanges;
521 SaNtfElementIdT *stateId;
522 } SaNtfStateChangeNotificationFilterT_2;
525 SaNtfNotificationFilterHandleT notificationFilterHandle;
526 SaNtfNotificationFilterHeaderT notificationFilterHeader;
527 SaUint16T numProbableCauses;
528 SaUint16T numPerceivedSeverities;
530 SaNtfProbableCauseT *probableCauses;
531 SaNtfSeverityT *perceivedSeverities;
532 SaNtfSeverityTrendT *trends;
533 } SaNtfAlarmNotificationFilterT;
536 SaNtfNotificationFilterHandleT notificationFilterHandle;
537 SaNtfNotificationFilterHeaderT notificationFilterHeader;
538 SaUint16T numProbableCauses;
539 SaUint16T numSeverities;
540 SaUint16T numSecurityAlarmDetectors;
541 SaUint16T numServiceUsers;
542 SaUint16T numServiceProviders;
543 SaNtfProbableCauseT *probableCauses;
544 SaNtfSeverityT *severities;
545 SaNtfSecurityAlarmDetectorT *securityAlarmDetectors;
546 SaNtfServiceUserT *serviceUsers;
547 SaNtfServiceUserT *serviceProviders;
548 } SaNtfSecurityAlarmNotificationFilterT;
551 SaNtfNotificationFilterHandleT notificationFilterHandle;
552 SaNtfNotificationFilterHeaderT notificationFilterHeader;
553 } SaNtfMiscellaneousNotificationFilterT;
556 SA_NTF_SEARCH_BEFORE_OR_AT_TIME = 1,
557 SA_NTF_SEARCH_AT_TIME = 2,
558 SA_NTF_SEARCH_AT_OR_AFTER_TIME = 3,
559 SA_NTF_SEARCH_BEFORE_TIME = 4,
560 SA_NTF_SEARCH_AFTER_TIME = 5,
561 SA_NTF_SEARCH_NOTIFICATION_ID = 6,
562 SA_NTF_SEARCH_ONLY_FILTER = 7
566 SaNtfSearchModeT searchMode;
572 SaNtfIdentifierT notificationId;
577 } SaNtfSearchCriteriaT;
580 SA_NTF_SEARCH_OLDER = 1,
581 SA_NTF_SEARCH_YOUNGER = 2
582 } SaNtfSearchDirectionT;
584 #if defined(SA_NTF_A01) || defined(SA_NTF_A02)
586 SaNtfNotificationFilterHandleT objectCreateDeleteFilterHandle;
587 SaNtfNotificationFilterHandleT attributeChangeFilterHandle;
588 SaNtfNotificationFilterHandleT stateChangeFilterHandle;
589 SaNtfNotificationFilterHandleT alarmFilterHandle;
590 SaNtfNotificationFilterHandleT securityAlarmFilterHandle;
591 } SaNtfNotificationTypeFilterHandlesT;
595 SaNtfNotificationFilterHandleT objectCreateDeleteFilterHandle;
596 SaNtfNotificationFilterHandleT attributeChangeFilterHandle;
597 SaNtfNotificationFilterHandleT stateChangeFilterHandle;
598 SaNtfNotificationFilterHandleT alarmFilterHandle;
599 SaNtfNotificationFilterHandleT securityAlarmFilterHandle;
600 SaNtfNotificationFilterHandleT miscellaneousFilterHandle;
601 } SaNtfNotificationTypeFilterHandlesT_3;
603 #define SA_NTF_FILTER_HANDLE_NULL ((SaNtfNotificationFilterHandleT) 0)
606 SaNtfNotificationTypeT notificationType;
608 SaNtfObjectCreateDeleteNotificationT objectCreateDeleteNotification;
609 SaNtfAttributeChangeNotificationT attributeChangeNotification;
610 SaNtfStateChangeNotificationT stateChangeNotification;
611 SaNtfAlarmNotificationT alarmNotification;
612 SaNtfSecurityAlarmNotificationT securityAlarmNotification;
614 } SaNtfNotificationsT;
617 SA_NTF_STATIC_FILTER_STATE = 1,
618 SA_NTF_SUBSCRIBER_STATE = 2,
622 SA_NTF_STATIC_FILTER_STATE_INACTIVE = 1,
623 SA_NTF_STATIC_FILTER_STATE_ACTIVE = 2,
624 } SaNtfStaticFilterStateT;
627 SA_NTF_SUBSCRIBER_STATE_FORWARD_NOT_OK = 1,
628 SA_NTF_SUBSCRIBER_STATE_FORWARD_OK = 2,
629 } SaNtfSubscriberStateT;
632 SA_NTF_NTFID_STATIC_FILTER_ACTIVATED = 0x065,
633 SA_NTF_NTFID_STATIC_FILTER_DEACTIVATED = 0x066,
634 SA_NTF_NTFID_CONSUMER_SLOW = 0x067,
635 SA_NTF_NTFID_CONSUMER_FAST_ENOUGH = 0x068
636 } SaNtfNotificationMinorIdT;
639 (*SaNtfNotificationCallbackT)(
640 SaNtfSubscriptionIdT subscriptionId,
644 (*SaNtfNotificationDiscardedCallbackT)(
645 SaNtfSubscriptionIdT subscriptionId,
646 SaNtfNotificationTypeT notificationType,
647 SaUint32T numberDiscarded,
648 const SaNtfIdentifierT *discardedNotificationIdentifiers);
652 SaNtfNotificationCallbackT saNtfNotificationCallback;
653 SaNtfNotificationDiscardedCallbackT saNtfNotificationDiscardedCallback;
658 SaNtfHandleT *ntfHandle,
659 const SaNtfCallbacksT *ntfCallbacks,
660 SaVersionT *version);
663 saNtfLocalizedMessageFree(
667 saNtfStateChangeNotificationFilterAllocate(
668 SaNtfHandleT ntfHandle,
669 SaNtfStateChangeNotificationFilterT *notificationFilter,
670 SaUint16T numEventTypes,
671 SaUint16T numNotificationObjects,
672 SaUint16T numNotifyingObjects,
673 SaUint16T numNotificationClassIds,
674 SaUint32T numSourceIndicators,
675 SaUint32T numChangedStates);
678 saNtfNotificationUnsubscribe(
679 SaNtfSubscriptionIdT subscriptionId);
682 saNtfNotificationReadInitialize(
683 SaNtfSearchCriteriaT searchCriteria,
684 const SaNtfNotificationTypeFilterHandlesT *notificationFilterHandles,
685 SaNtfReadHandleT *readHandle);
690 (*SaNtfStaticSuppressionFilterSetCallbackT)(
691 SaNtfHandleT ntfHandle,
692 SaUint16T notificationTypeBitmap);
695 SaNtfNotificationCallbackT saNtfNotificationCallback;
696 SaNtfNotificationDiscardedCallbackT saNtfNotificationDiscardedCallback;
697 SaNtfStaticSuppressionFilterSetCallbackT
698 saNtfStaticSuppressionFilterSetCallback;
703 SaNtfHandleT *ntfHandle,
704 const SaNtfCallbacksT_2 *ntfCallbacks,
705 SaVersionT *version);
708 saNtfNotificationReadInitialize_2(
709 const SaNtfSearchCriteriaT *searchCriteria,
710 const SaNtfNotificationTypeFilterHandlesT *notificationFilterHandles,
711 SaNtfReadHandleT *readHandle);
714 #if defined(SA_NTF_A01) || defined(SA_NTF_A02)
716 saNtfNotificationSubscribe(
717 const SaNtfNotificationTypeFilterHandlesT *notificationFilterHandles,
718 SaNtfSubscriptionIdT subscriptionId);
722 (*SaNtfStaticSuppressionFilterSetCallbackT_3)(
723 SaNtfHandleT ntfHandle,
724 SaNtfEventTypeBitmapT eventTypeBitmap);
727 SaNtfNotificationCallbackT saNtfNotificationCallback;
728 SaNtfNotificationDiscardedCallbackT saNtfNotificationDiscardedCallback;
729 SaNtfStaticSuppressionFilterSetCallbackT_3 saNtfStaticSuppressionFilterSetCallback;
734 SaNtfHandleT *ntfHandle,
735 const SaNtfCallbacksT_3 *ntfCallbacks,
736 SaVersionT *version);
739 saNtfSelectionObjectGet(
740 SaNtfHandleT ntfHandle,
741 SaSelectionObjectT *selectionObject);
745 SaNtfHandleT ntfHandle,
746 SaDispatchFlagsT dispatchFlags);
750 SaNtfHandleT ntfHandle);
753 saNtfObjectCreateDeleteNotificationAllocate(
754 SaNtfHandleT ntfHandle,
756 SaUint16T numCorrelatedNotifications,
757 SaUint16T lengthAdditionalText,
758 SaUint16T numAdditionalInfo,
759 SaUint16T numAttributes,
760 SaInt16T variableDataSize);
763 saNtfAttributeChangeNotificationAllocate(
764 SaNtfHandleT ntfHandle,
766 SaUint16T numCorrelatedNotifications,
767 SaUint16T lengthAdditionalText,
768 SaUint16T numAdditionalInfo,
769 SaUint16T numAttributes,
770 SaInt16T variableDataSize);
773 saNtfStateChangeNotificationAllocate(
774 SaNtfHandleT ntfHandle,
776 SaUint16T numCorrelatedNotifications,
777 SaUint16T lengthAdditionalText,
778 SaUint16T numAdditionalInfo,
779 SaUint16T numStateChanges,
780 SaInt16T variableDataSize);
783 saNtfAlarmNotificationAllocate(
784 SaNtfHandleT ntfHandle,
786 SaUint16T numCorrelatedNotifications,
787 SaUint16T lengthAdditionalText,
788 SaUint16T numAdditionalInfo,
789 SaUint16T numSpecificProblems,
790 SaUint16T numMonitoredAttributes,
791 SaUint16T numProposedRepairActions,
792 SaInt16T variableDataSize);
795 saNtfSecurityAlarmNotificationAllocate(
796 SaNtfHandleT ntfHandle,
798 SaUint16T numCorrelatedNotifications,
799 SaUint16T lengthAdditionalText,
800 SaUint16T numAdditionalInfo,
801 SaInt16T variableDataSize);
805 SaNtfNotificationHandleT notificationHandle,
811 saNtfArrayValAllocate(
812 SaNtfNotificationHandleT notificationHandle,
813 SaUint16T numElements,
814 SaUint16T elementSize,
819 saNtfNotificationSend(
820 SaNtfNotificationHandleT notificationHandle);
823 saNtfNotificationFree(
824 SaNtfNotificationHandleT notificationHandle);
827 saNtfVariableDataSizeGet(
828 SaNtfNotificationHandleT notificationHandle,
829 SaUint16T *variableDataSpaceAvailable);
832 saNtfLocalizedMessageGet(
833 SaNtfNotificationHandleT notificationHandle,
837 saNtfLocalizedMessageFree_2(
838 SaNtfHandleT ntfHandle,
841 extern SaAisErrorT saNtfPtrValGet(
842 SaNtfNotificationHandleT notificationHandle,
845 SaUint16T *dataSize);
849 SaNtfNotificationHandleT notificationHandle,
852 SaUint16T *numElements,
853 SaUint16T *elementSize);
856 saNtfObjectCreateDeleteNotificationFilterAllocate(
857 SaNtfHandleT ntfHandle,
858 SaNtfObjectCreateDeleteNotificationFilterT *notificationFilter,
859 SaUint16T numEventTypes,
860 SaUint16T numNotificationObjects,
861 SaUint16T numNotifyingObjects,
862 SaUint16T numNotificationClassIds,
863 SaUint16T numSourceIndicators);
866 saNtfAttributeChangeNotificationFilterAllocate(
867 SaNtfHandleT ntfHandle,
868 SaNtfAttributeChangeNotificationFilterT *notificationFilter,
869 SaUint16T numEventTypes,
870 SaUint16T numNotificationObjects,
871 SaUint16T numNotifyingObjects,
872 SaUint16T numNotificationClassIds,
873 SaUint32T numSourceIndicators);
876 saNtfStateChangeNotificationFilterAllocate_2(
877 SaNtfHandleT ntfHandle,
878 SaNtfStateChangeNotificationFilterT_2 *notificationFilter,
879 SaUint16T numEventTypes,
880 SaUint16T numNotificationObjects,
881 SaUint16T numNotifyingObjects,
882 SaUint16T numNotificationClassIds,
883 SaUint32T numSourceIndicators,
884 SaUint32T numChangedStates);
887 saNtfAlarmNotificationFilterAllocate(
888 SaNtfHandleT ntfHandle,
889 SaNtfAlarmNotificationFilterT *notificationFilter,
890 SaUint16T numEventTypes,
891 SaUint16T numNotificationObjects,
892 SaUint16T numNotifyingObjects,
893 SaUint16T numNotificationClassIds,
894 SaUint32T numProbableCauses,
895 SaUint32T numPerceivedSeverities,
896 SaUint32T numTrends);
899 saNtfSecurityAlarmNotificationFilterAllocate(
900 SaNtfHandleT ntfHandle,
901 SaNtfSecurityAlarmNotificationFilterT *notificationFilter,
902 SaUint16T numEventTypes,
903 SaUint16T numNotificationObjects,
904 SaUint16T numNotifyingObjects,
905 SaUint16T numNotificationClassIds,
906 SaUint32T numProbableCauses,
907 SaUint32T numSeverities,
908 SaUint32T numSecurityAlarmDetectors,
909 SaUint32T numServiceUsers,
910 SaUint32T numServiceProviders);
913 saNtfNotificationFilterFree(
914 SaNtfNotificationFilterHandleT notificationFilterHandle);
917 saNtfNotificationSubscribe_3(
918 const SaNtfNotificationTypeFilterHandlesT_3 *notificationFilterHandles,
919 SaNtfSubscriptionIdT subscriptionId);
922 saNtfNotificationReadInitialize_3(
923 const SaNtfSearchCriteriaT *searchCriteria,
924 const SaNtfNotificationTypeFilterHandlesT_3 *notificationFilterHandles,
925 SaNtfReadHandleT *readHandle);
928 saNtfNotificationUnsubscribe_2(
929 SaNtfHandleT ntfHandle,
930 SaNtfSubscriptionIdT subscriptionId);
933 saNtfNotificationReadNext(
934 SaNtfReadHandleT readHandle,
935 SaNtfSearchDirectionT searchDirection,
939 SaAisErrorT saNtfNotificationReadFinalize(
940 SaNtfReadHandleT readHandle);