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
Index: T g

⟦2cbe0ac63⟧ TextFile

    Length: 930 (0x3a2)
    Types: TextFile
    Names: »grind5a-2b.c«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/doc/manual/grind5a-2b.c« 
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« 
        └─⟦de7628f85⟧ 
            └─⟦this⟧ »isode-6.0/doc/manual/grind5a-2b.c« 

TextFile

...

    if ((pz = is2paddr (argv[1], NULLCP, is)) == NULLPA)
	error ("address translation failed");
    sf = addr2ref (PLocalHostName ());

    settings = 0;
#define	dotoken(requires,shift,bit,type) \
{ \
    if (requirements & requires) \
	settings |= ST_INIT_VALUE << shift; \
}
    dotokens ();
#undef	dotoken

    if (PConnRequest (NULLSA, pz, NULLPC, NULLOID, 0, requirements,
	    SERIAL_NONE, settings, sf, NULLPEP, 0, NULLQOS, pc, pi) == NOTOK)
	error ("P-CONNECT.REQUEST: %s", PErrString (pa -> pa_reason));
    if (pc -> pc_result != PC_ACCEPT)
	error ("connection rejected by sink: %s",
		    PErrString (pc -> pc_result));	

    sd = pc -> pc_sd;
    requirements = pc -> pc_requirements;

#define dotoken(requires,shift,bit,type) \
{ \
    if (requirements & requires) \
	if ((pc -> pc_settings & (ST_MASK << shift)) \
		== ST_INIT_VALUE) \
	    owned |= bit; \
}
	dotokens ();
#undef	dotoken

    PCFREE (pc);

...