]>
diplodocus.org Git - nmh/blob - sbr/seq_getnum.c
3 * seq_getnum.c -- find the index for a sequence
4 * -- return -1 if sequence doesn't exist
6 * This code is Copyright (c) 2002, by the authors of nmh. See the
7 * COPYRIGHT file in the root directory of the nmh distribution for
8 * complete copyright information.
15 seq_getnum (struct msgs
*mp
, char *seqname
)
19 for (i
= 0; i
< svector_size (mp
->msgattrs
); i
++)
20 if (!strcmp (svector_at (mp
->msgattrs
, i
), seqname
))