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: }

Defined functions

m_seqflag defined in line 6; used 1 times
Last modified: 1985-09-23
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 820
Valid CSS Valid XHTML 1.0 Strict