cpg_iteration_next man page on Oracle

Printed from http://www.polarhome.com/service/man/?qf=cpg_iteration_next&af=0&tf=2&of=Oracle

CPG_ITERATION_NEXTCorosync Cluster Engine Programmer's MaCPG_ITERATION_NEXT(3)

       cpg_iteration_next - Return next item in iteration of CPG

       #include <corosync/cpg.h>

       cs_error_t  cpg_iteration_next  (cpg_iteration_handle_t	handle, struct
       cpg_iteration_description_t *description);

       The cpg_iter_next function is used to get next value in iteration.  The
       handle  argument	 is  iterator handle obtained by cpg_iteration_inital‐
       ize(3) function.	 description is pointer to  structure  with  following

	      struct cpg_iteration_description_t {
		  struct cpg_name group;
		  uint32_t nodeid;
		  uint32_t pid;

       where group is name of group, nodeid is ID of connected node and pid is
       pid of connected process. If iteration was initialized with  CPG_ITERA‐
       TION_NAME_ONLY iteration type, both nodeid and pid are 0.

       This  call  returns the CS_OK value if successful. If there are no more
       items to iterate, CS_NO_SECTION error code is returned.

       cpg_iteration_initialize(3), cpg_overview(8)

       CS_ERR_TRY_AGAIN Resource temporarily unavailable

       CS_ERR_INVALID_PARAM Invalid argument

       CS_ERR_ACCESS Permission denied

       CS_ERR_LIBRARY The connection failed

       CS_ERR_INTERRUPT System call inturrupted by a signal

       CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported

       CS_ERR_MESSAGE_ERROR Incorrect auth message received

       CS_ERR_NO_MEMORY Not enough memory to completed the requested task

corosync Man Page		  05/03/2012		 CPG_ITERATION_NEXT(3)

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net