bl_sam_buff_set_previous_rname_ae(3)

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

SYNOPSIS
int     bl_sam_buff_set_previous_rname_ae(
bl_sam_buff_t *bl_sam_buff_ptr,
size_t c,
char new_previous_rname_element
)

ARGUMENTS
bl_sam_buff_ptr Pointer to the structure to set
c               Subscript to the previous_rname array
new_previous_rname_element The new value for previous_rname[c]

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

RETURN VALUES
BL_SAM_BUFF_DATA_OK if the new value is acceptable and assigned BL_SAM_BUFF_DATA_OUT_OF_RANGE otherwise

EXAMPLES
bl_sam_buff_t   bl_sam_buff;
size_t          c;
char            new_previous_rname_element;
if ( bl_sam_buff_set_previous_rname_ae(&bl_sam_buff, c, new_previous_rname_element)
        == BL_SAM_BUFF_DATA_OK )
{
}

SEE ALSO
BL_SAM_BUFF_SET_PREVIOUS_RNAME_AE(3)