This is m_seqflag.c in view mode; [Download] [Up]
/* m_seqflag.c - return the flag (bit) for a sequence */ #include "../h/mh.h" int m_seqflag (mp, cp) register struct msgs *mp; register char *cp; { int bits; register int i; bits = FFATTRSLOT; for (i = 0; mp -> msgattrs[i]; i++) if (strcmp (mp -> msgattrs[i], cp) == 0) return (1 << (bits + i)); return 0; }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.