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