|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T g
Length: 588 (0x24c) Types: TextFile Names: »grind5b-2.c«
└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« └─⟦d3ac74d73⟧ └─⟦this⟧ »isode-5.0/doc/manual/grind5b-2.c« └─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/doc/manual/grind5b-2.c«
#include <ssap.h> ... int owned = 0; int required; /* initialized from connection negotation */ int settings; /* .. */ ... #define dotoken(requires,shift,bit,type) \ { \ if (requirements & requires) \ switch (settings & (ST_MASK << shift)) { \ case ST_CALL_VALUE << shift: \ settings &= ~(ST_MASK << shift); \ settings |= ST_INIT_VALUE << shift; \ break; \ \ case ST_INIT_VALUE: \ break; \ \ case ST_RESP_VALUE: \ owned |= bit; \ break; \ \ default: \ error ("initial %s token setting", type); \ } \ } dotokens (); #undef dotoken