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; mp->msgattrs[i]; i++)
20 if (!strcmp (mp->msgattrs[i], seqname))