next up previous contents
Next: miget_number_of_defined_labels Up: LABEL FUNCTIONS (4) Previous: miget_label_name   Contents

miget_label_value

NAME

miget_label_value - translate a label name into the corresponding integer
value.

SYNOPSIS

#include <minc2.h>

int miget_label_value ( mihandle_t      volume, 
                        const char      *name, 
                        int             *value_ptr );

DESCRIPTION

This function is the inverse of miget_label_name. It is called to determine
what integer value, if any, corresponds to the given text string.

RETURN VALUE

MI_NOERROR on success, MI_ERROR on failure.



Robert VINCENT 2005-03-09