|
|
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 t
Length: 702 (0x2be)
Types: TextFile
Names: »tb_nm2struct.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0
└─⟦dc59850a2⟧ »EurOpenD22/pp5.0/pp-5.tar.Z«
└─⟦e5a54fb17⟧
└─⟦this⟧ »pp-5.0/Lib/table/tb_nm2struct.c«
/* tb_nm2struct: convert a table name to a struct pointer */
# ifndef lint
static char Rcsid[] = "@(#)$Header: /cs/research/pp/hubris/pp-beta/Lib/table/RCS/tb_nm2struct.c,v 5.0 90/09/20 16:15:50 pp Exp Locker: pp $";
# endif
/*
* $Header: /cs/research/pp/hubris/pp-beta/Lib/table/RCS/tb_nm2struct.c,v 5.0 90/09/20 16:15:50 pp Exp Locker: pp $
*
* $Log: tb_nm2struct.c,v $
* Revision 5.0 90/09/20 16:15:50 pp
* rcsforce : 5.0 public release
*
*/
#include "util.h"
#include "table.h"
Table *
tb_nm2struct(name)
char *name;
{
register Table **tbl;
for(tbl = tb_all ; *tbl != (Table *)0 ; tbl++)
if(lexequ(name, (*tbl)->tb_name) == 0)
return(*tbl);
return( (Table *)0);
}