| |||||||
Reference/es_mbi_incfetchSyntaxint es_mbi_incfetch( struct es_mbi *iter ); Arguments
Return Codes
DescriptionIncrement iterator If one or more membership filters ( struct es_mbm ) have been added to the associated iterator field-binding ( struct es_mbb ) es_mbi_incfetch() will instead advance to next row for which the filters are valid. Returns es_mbi_beginfetch() and es_mbi_incfetch() are typically used together to iterate over all the rows in a node via a for loop: int r; for( r = es_mbi_beginfetch( iter, nd ); r == ES_ERROR_NONE; r = es_mbi_incfetch( iter ) ) { /* do useful work with the data for this row */ } | |||||||
Copyright © 2012 by Richard Brooks |