DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦a8b956df8⟧ TextFile

    Length: 352 (0x160)
    Types: TextFile
    Names: »m_seqflag.c«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3658e588a⟧ »EurOpenD3/mail/mh/mh-6.7.tar.Z« 
        └─⟦c75e36ecb⟧ 
            └─⟦this⟧ »mh-6.7/sbr/m_seqflag.c« 

TextFile

/* 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;
}