osaf/libs/common/ntfsv/include/ntfsv_defs.h |  6 +++++-
 osaf/libs/common/ntfsv/include/ntfsv_msg.h  |  7 +++++++
 2 files changed, 12 insertions(+), 1 deletions(-)


No change from v1.

New message structure to be used by NTFS to send CLM membership status of node
to clients.

diff --git a/osaf/libs/common/ntfsv/include/ntfsv_defs.h 
b/osaf/libs/common/ntfsv/include/ntfsv_defs.h
--- a/osaf/libs/common/ntfsv/include/ntfsv_defs.h
+++ b/osaf/libs/common/ntfsv/include/ntfsv_defs.h
@@ -20,6 +20,10 @@
 
 #define NTF_RELEASE_CODE 'A'
 #define NTF_MAJOR_VERSION 1
-#define NTF_MINOR_VERSION 1
+#define NTF_MINOR_VERSION 2
+
+#define NTF_RELEASE_CODE_0 'A'
+#define NTF_MAJOR_VERSION_0 1
+#define NTF_MINOR_VERSION_0 1
 
 #endif   /* NTFSV_DEFS_H */
diff --git a/osaf/libs/common/ntfsv/include/ntfsv_msg.h 
b/osaf/libs/common/ntfsv/include/ntfsv_msg.h
--- a/osaf/libs/common/ntfsv/include/ntfsv_msg.h
+++ b/osaf/libs/common/ntfsv/include/ntfsv_msg.h
@@ -63,6 +63,7 @@ as mentioned in LOGSV PR doc Section 3.5
                NTFSV_DUMMY_CALLBACK = 0,
                NTFSV_NOTIFICATION_CALLBACK = 1,
                NTFSV_DISCARDED_CALLBACK = 2,
+               NTFSV_CLM_NODE_STATUS_CALLBACK = 3,
                NTFSV_NTFS_CBK_MAX = 3
        } ntfsv_cbk_msg_type_t;
 
@@ -188,6 +189,11 @@ as mentioned in LOGSV PR doc Section 3.5
                } param;
        } ntfsv_api_info_t;
 
+/*CLM node status callback structure for NTFA*/
+       typedef struct ntfsv_ntfa_clm_status_param_tag {
+               uint32_t clm_node_status;
+       } ntfsv_ntfa_clm_status_cbk_t;
+
 /* wrapper structure for all the callbacks */
        typedef struct {
                ntfsv_cbk_msg_type_t type;      /* callback type */
@@ -197,6 +203,7 @@ as mentioned in LOGSV PR doc Section 3.5
                union {
                        ntfsv_send_not_req_t *notification_cbk;
                        ntfsv_discarded_info_t discarded_cbk;
+                       ntfsv_ntfa_clm_status_cbk_t clm_node_status_cbk;
                } param;
        } ntfsv_cbk_info_t;
 

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to