votequorum_qdisk_getinfo(3)

votequorum_qdisk_getinfo3

Get details of the quorum device

Usage

#include <corosync/votequorum.h>

int votequorum_qdisk_getinfo(votequorum_handle_t handle, struct votequorum_qdisk_info *info);

Overview

The votequorum_qdisk_getinfo Returns information about the quorum device in the following structure:

struct votequorum_qdisk_info {
	unsigned int votes;
	unsigned int state;
	char name[VOTEQUORUM_MAX_QDISK_NAME_LEN];
};

Return value

This call returns the CS_OK value if successful, otherwise an error is returned.

Errors

The errors are undocumented.

Releases

Unchanged in 3 releases since Debian 6.0 (Squeeze).

  1. 6.0–8

From corosync-dev 1.4.6-1.1 in Debian 8 (Jessie). Parsed by carta from the page's man source.