bl_vcf_set_format(3)

LIBRARY
#include <biolibc/vcf.h>
-lbiolibc -lxtend

SYNOPSIS
int     bl_vcf_set_format(bl_vcf_t *bl_vcf_ptr, char * new_format)

ARGUMENTS
bl_vcf_ptr      Pointer to the structure to set
new_format      The new value for format

DESCRIPTION
Mutator for format member in a bl_vcf_t structure. Use this function to set format in a bl_vcf_t object from non-member functions. This function performs a direct assignment for scalar or pointer structure members. If format is a pointer, data previously pointed to should be freed before calling this function to avoid memory leaks.

RETURN VALUES
BL_VCF_DATA_OK if the new value is acceptable and assigned BL_VCF_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_vcf_t        bl_vcf;
char *          new_format;
if ( bl_vcf_set_format(&bl_vcf, new_format)
        == BL_VCF_DATA_OK )
{
}

SEE ALSO
(3)