next up previous contents
Next: milist_finish Up: ATTRIBUTE/GROUP FUNCTIONS (11) Previous: milist_attr_next   Contents

milist_grp_next

NAME 

milist_grp_next - get the group(s) at given path

SYNOPSIS

#include <minc2.h>

int milist_grp_next  ( milisthandle_t          handle, 
                       char                    *path,
                       int                     maxpath)
                        
DESCRIPTION

This function returns each of the groups associated with the listing 
initiated by a call to milist_start(). Each successive call to 
milist_grp_next() returns the next group's path in the corresponding 
string buffer.

When all possible groups have been returned, the function returns an error.

RETURN VALUE

milist_grp_next returns MI_NOERROR if it successfully gets the
group(s) name or MI_ERROR otherwise



Robert VINCENT 2005-03-09