debian man page for lqr_carver_list_foreach

Query: lqr_carver_list_foreach

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LQR_CARVER_LIST_FOREACH(3)				     LqR library API reference					LQR_CARVER_LIST_FOREACH(3)

NAME
lqr_carver_list_foreach - perform operations on all LqrCarver objects in an LqrCarverList object
SYNOPSIS
#include <lqr.h> LqrRetVal lqr_carver_list_foreach(LqrCarverList* list, LqrCarverFunc func, LqrDataTok data); LqrRetVal lqr_carver_list_foreach_recursive(LqrCarverList* list, LqrCarverFunc func, LqrDataTok data);
DESCRIPTION
The function lqr_carver_list_foreach can be used to apply the function func to all the LqrCarver objects listed in list. The parameter data is used to pass arguments to the function. The list value should be obtained through the function lqr_carver_list_start(3). The order in the list will then follow the one in which carver objects were attached. The function func is of type LqrCarverFunc, whose prototype is defined by: typedef LqrRetVal (*LqrCarverFunc) (LqrCarver *carver, LqrDataTok data); The data argument is of type LqrDataTok, which is defined as a union with the following fields: o LqrCarver* carver o gint integer o gpointer data The function lqr_carver_list_foreach_recursive is equivelant to lqr_carver_list_foreach, but it works recursively if the LqrCarver objects in list have themselves other attached LqrCarver objects attached. In this case, the function func will be applied to each element of the list and to each element of the attached list recursively, before moving on to the next element.
SEE ALSO
LqrRetVal(3), lqr_carver_attach(3), lqr_carver_list_start(3), lqr_carver_list_current(3), lqr_carver_list_next(3)
COPYRIGHT
Copyright (C) 2007-2009 Carlo Baldassi LqR library 0.4.1 API (3:1:3) 10 Maj 2009 LQR_CARVER_LIST_FOREACH(3)
Related Man Pages
lqr_carver_bias_add(3) - debian
lqr_carver_bias_add_area(3) - debian
lqr_carver_bias_add_rgb_area(3) - debian
lqr_carver_get_energy_image(3) - debian
lqr_carver_resize(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
How to copy a column of multiple files and paste into new excel file (next to column)?