libcman.h   libcman.h 
skipping to change at line 417 skipping to change at line 417
* with this can now be better done using openAIS services or just messagin g. * with this can now be better done using openAIS services or just messagin g.
*/ */
int cman_barrier_register(cman_handle_t handle, const char *name, int flags , int nodes); int cman_barrier_register(cman_handle_t handle, const char *name, int flags , int nodes);
int cman_barrier_change(cman_handle_t handle, const char *name, int flags, int arg); int cman_barrier_change(cman_handle_t handle, const char *name, int flags, int arg);
int cman_barrier_wait(cman_handle_t handle, const char *name); int cman_barrier_wait(cman_handle_t handle, const char *name);
int cman_barrier_delete(cman_handle_t handle, const char *name); int cman_barrier_delete(cman_handle_t handle, const char *name);
/* /*
* Add your own quorum device here, needs an admin socket * Add your own quorum device here, needs an admin socket
* *
* register_quorum and update_quorum arguments are mandatory.
* name has to be a valid null-terminated string and votes >= 0.
*
* After creating a quorum device you will need to call 'poll_quorum_device ' * After creating a quorum device you will need to call 'poll_quorum_device '
* at least once every (default) 10 seconds (this can be changed in CCS) * at least once every (default) 10 seconds (this can be changed in CCS)
* otherwise it will time-out and the cluster will lose its vote. * otherwise it will time-out and the cluster will lose its vote.
*/ */
int cman_register_quorum_device(cman_handle_t handle, char *name, int votes ); int cman_register_quorum_device(cman_handle_t handle, char *name, int votes );
int cman_unregister_quorum_device(cman_handle_t handle); int cman_unregister_quorum_device(cman_handle_t handle);
int cman_poll_quorum_device(cman_handle_t handle, int isavailable); int cman_poll_quorum_device(cman_handle_t handle, int isavailable);
int cman_get_quorum_device(cman_handle_t handle, struct cman_qdev_info *inf o); int cman_get_quorum_device(cman_handle_t handle, struct cman_qdev_info *inf o);
int cman_update_quorum_device(cman_handle_t handle, char *name, int votes);
/* /*
* Sets the dirty bit inside cman. This indicates that the node has * Sets the dirty bit inside cman. This indicates that the node has
* some internal 'state' (eg in a daemon, filesystem or lock manager) * some internal 'state' (eg in a daemon, filesystem or lock manager)
* and cannot merge with another cluster that already has state. * and cannot merge with another cluster that already has state.
* This needs an admin socket. It cannot be reset. * This needs an admin socket. It cannot be reset.
*/ */
int cman_set_dirty(cman_handle_t handle); int cman_set_dirty(cman_handle_t handle);
/* /*
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/