xt_dsv_line_set_fields_ae(3)

LIBRARY
#include <xtend/dsv.h>
-lxtend

SYNOPSIS
int     xt_dsv_line_set_fields_ae(xt_dsv_line_t *xt_dsv_line_ptr, size_t c, char * new_fields_element)

ARGUMENTS
xt_dsv_line_ptr    Pointer to the structure to set
c               Subscript to the fields array
new_fields_element The new value for fields[c]

DESCRIPTION
Mutator for an array element of fields member in a xt_dsv_line_t structure. Use this function to set xt_dsv_line_ptr->fields[c] in a xt_dsv_line_t object from non-member functions.

RETURN VALUES
DSV_DATA_OK if the new value is acceptable and assigned DSV_DATA_OUT_OF_RANGE otherwise

EXAMPLES
xt_dsv_line_t      xt_dsv_line;
size_t          c;
char **         new_fields_element;
if ( xt_dsv_line_set_fields_ae(&xt_dsv_line, c, new_fields_element)
        == DSV_DATA_OK )
{
}

SEE ALSO
DSV_LINE_SET_FIELDS_AE(3)