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