first previous next last contents

type2str and str2type

#include <tagUtils.h>

int str2type(
        char   *stype);

void type2str(
        int     itype,
        char    stype[5]);

Note that these two functions are infact #defines. The prototypes are listed simply to guide their correct usage.

str2type converts a 4 character tag type, pointed to by stype into an integer value as used in the GAnnotations.type field.

type2str converts an integer type passed as itype to a 4 character (plus 1 nul) string.

first previous next last contents
This page is maintained by staden-package. Last generated on 1 March 2001.