(file) Return to oc_membership.h CVS log (file) (dir) Up to [OpenCF] / specs / membership

Diff for /specs/membership/oc_membership.h between version 1.2 and 1.3

version 1.2, 2003/06/12 13:53:07 version 1.3, 2003/06/12 13:54:59
Line 93 
Line 93 
  *  *
  * See oc_cmp_uniqueid() for comparing them.  * See oc_cmp_uniqueid() for comparing them.
  *  *
  * The meaning of the unode field is not defined by this specification.   * The meaning of the uniqueid field is not defined by this specification.
  * It may be the node_id of a node in the cluster or it may be a unique  * It may be the node_id of a node in the cluster or it may be a unique
  * checksum or it may be some other value.  All that is specified is that  * checksum or it may be some other value.  All that is specified is that
  * it and the m_instance are unique when taken as a whole.  * it and the m_instance are unique when taken as a whole.
  */  */
   typedef unsigned char oc_mbr_uuid[16];
 struct oc_member_uniqueid_s { struct oc_member_uniqueid_s {
         unsigned        m_instance;         unsigned        m_instance;
         oc_node_id_t    unode;          oc_mbr_uniqueid uniqueid;
 }; };
 /* /*
  * This enumeration is used both to indicated the type of an event  * This enumeration is used both to indicated the type of an event
Line 222 
Line 223 
 /* /*
  *      if  l.m_instance < r.m_instance then return -1  *      if  l.m_instance < r.m_instance then return -1
  *      if  r.m_instance > r.m_instance then return 1  *      if  r.m_instance > r.m_instance then return 1
  *      if l.m_instance == r.m_instance and l.unode == r.unode   *      if l.m_instance == r.m_instance and l.uniqueid == r.uniqueid
  *              then return 0  *              then return 0
  *      otherwise return 2  *      otherwise return 2
  */  */


Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVS admin
Powered by
ViewCVS 0.9.2