DOKK / manpages / debian 10 / alliance / getlomodel.3.en
GETLOMODEL(3) MBK LOGICAL FUNCTIONS GETLOMODEL(3)

getlomodel - retrieve a model from a lofig_list

See the file buster/alliance/alc_origin.1.en.gz.

#include "mut.h"
lofig_list ∗getlomodel(model, name)
lofig_list ∗model;
char ∗name;

Pointer to a lofig list
String indicating the model to be looked for

getlomodel seeks a lofig element in the list pointed to by model.

getlomodel returns a pointer to the lofig that match the name. If no lofig has the given name, then NULL is returned.

#include "mlo.h"
locon_list *get_model_cons(model, name)
lofig_list ∗model;
char ∗name;
{
lofig_list ∗p = getlomodel(model, name);
	return p ? p->LOCON : NULL;
}	

mbk(1), lofig(3), addlomodel(3), freelomodel(3), dellomodel(3).

See the file buster/alliance/alc_bug_report.1.en.gz.

October 1, 1997 ASIM/LIP6