]>
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
8 * This code is Copyright (c) 2002, by the authors of nmh. See the
9 * COPYRIGHT file in the root directory of the nmh distribution for
10 * complete copyright information.
17 seq_getnum (struct msgs
*mp
, char *seqname
)
21 for (i
= 0; mp
->msgattrs
[i
]; i
++)
22 if (!strcmp (mp
->msgattrs
[i
], seqname
))