Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

votequorum_context_set(3) [debian man page]

VOTEQUORUM_CONTEXT_SET(3)			    Corosync Cluster Engine Programmer's Manual 			 VOTEQUORUM_CONTEXT_SET(3)

NAME
votequorum_context_set - Sets the context variable for a VOTEQUORUM instance SYNOPSIS
#include <corosync/votequorum.h> int votequorum_context_set(votequorum_handle_t handle, void *context); DESCRIPTION
The votequorum_context_set function is used to set the context variable for a votequorum instance. It has no meaning insire libvotequorum itself and will not be touched by the library. It can be retrieved using votequorum_context_get(3) RETURN VALUE
This call returns the VOTEQUORUM_OK value if successful, otherwise an error is returned. ERRORS
The errors are undocumented. SEE ALSO
votequorum_initialize(3), votequorum_finalize(3), votequorum_fd_get(3), votequorum_dispatch(3), votequorum_context_get(3), votequorum_con- text_set(3), corosync Man Page 2004-08-31 VOTEQUORUM_CONTEXT_SET(3)

Check Out this Related Man Page

VOTEQUORUM_FD_GET(3)				    Corosync Cluster Engine Programmer's Manual 			      VOTEQUORUM_FD_GET(3)

NAME
votequorum_fd_get - Dispatches callbacks from the votequorum service SYNOPSIS
#include <corosync/votequorum.h> int votequorum_fd_get(votequorum_handle_t handle, int *fd); DESCRIPTION
The votequorum_fd_get function is used to retrieve the file descriptor that may be used with the poll system call to determine when vote- quorum_dispatch(3) won't block. The handle argument may not be used directly with poll because it is not the file descriptor, but instead an internal identifier used by the votequorum library. RETURN VALUE
This call returns the CS_OK value if successful, otherwise an error is returned. ERRORS
The errors are undocumented. SEE ALSO
votequorum_overview(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_dispatch(3), votequorum_fd_get(3), corosync Man Page 2009-01-26 VOTEQUORUM_FD_GET(3)
Man Page