getlomodel3
Retrieve a model from a lofig_list
Synopsys
#include "mut.h" lofig_list ∗getlomodel(model, name) lofig_list ∗model; char ∗name;
Parameters
model
|
Pointer to a lofig list |
|---|---|
name
|
String indicating the model to be looked for |
Overview
getlomodel seeks a lofig element in the list pointed to by model.
Return value
getlomodel returns a pointer to the lofig that match the name. If no lofig has the given name, then NULL is returned.
Examples
#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;
}
Releases
4 releases since Debian 7 (Wheezy); the text changed 1 time.