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

miset_attr_values

NAME 

miset_attr_values - set the value(s) of the attribute

SYNOPSIS

#include <minc2.h>

int miset_attr_values ( mihandle_t              volume,
                        mitype_t                attr_data_type,
                        const char              *path,
                        const char              *name,
                        int                     length,
                        void                    *values)
                       
                                
DESCRIPTION

This method sets the value(s) of type double or string for the 
specified attribute name.  If the attribute does not exist, 
it will be created.

RETURN VALUE

miset_attr_values returns MI_NOERROR if it successfully sets the
attribute value(s) or MI_ERROR otherwise



Robert VINCENT 2005-03-09