|
|
1.1 ! root 1: /* m_seqflag.c - return the flag (bit) for a sequence */ ! 2: ! 3: #include "../h/mh.h" ! 4: ! 5: ! 6: int m_seqflag (mp, cp) ! 7: register struct msgs *mp; ! 8: register char *cp; ! 9: { ! 10: int bits; ! 11: register int i; ! 12: ! 13: bits = FFATTRSLOT; ! 14: for (i = 0; mp -> msgattrs[i]; i++) ! 15: if (strcmp (mp -> msgattrs[i], cp) == 0) ! 16: return (1 << (bits + i)); ! 17: ! 18: return 0; ! 19: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.