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