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 c

⟦69b1ef33b⟧ TextFile

    Length: 706 (0x2c2)
    Types: TextFile
    Names: »ch_nm2struct.c«

Derivation

└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
    └─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z« 
        └─⟦e5a54fb17⟧ 
            └─⟦this⟧ »pp-5.0/Lib/table/ch_nm2struct.c« 

TextFile

/* ch_nm2struct.c: convert channel name into structure */

# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/table/RCS/ch_nm2struct.c,v 5.0 90/09/20 16:14:50 pp Exp Locker: pp $";
# endif

/*
 * $Header: /cs/research/pp/hubris/pp-beta/Lib/table/RCS/ch_nm2struct.c,v 5.0 90/09/20 16:14:50 pp Exp Locker: pp $
 *
 * $Log:	ch_nm2struct.c,v $
 * Revision 5.0  90/09/20  16:14:50  pp
 * rcsforce : 5.0 public release
 * 
 */



#include "util.h"
#include "chan.h"


CHAN* ch_nm2struct (name)
char    *name;
{
	register CHAN   **chp, *chan;

	for (chp = ch_all; (chan = *chp) != NULLCHAN; chp++)
		if (lexequ (name, chan->ch_name) == 0)
			return (chan);
	return (NULLCHAN);
}