ADDLOMODEL(3) | MBK LOGICAL FUNCTIONS | ADDLOMODEL(3) |
addlomodel - create a tempotary logical model and add it to a list
See the file buster/alliance/alc_origin.1.en.gz.
#include "mlo.h" lofig_list ∗addlomodel(model, name) lofig_list ∗model; char ∗name;
addlomodel creates a new lofig_list element and adds
it to the front of the list pointed to by model, and becomes itself
the list head.
The addlomodel function is mosty used to create a temporary list of
lofig in order to represent the "in file" instances'
models. In fact, all the file format used with mbk have the notion of models
local to files, so they are not figure, but are temporarly used to create
instance connectors, for example. For details on the structure, see
lofig(3).
addlomodel returns a pointer to the new head of model list.
"∗∗∗ mbk error ∗∗∗ addlomodel impossible : model name already exists"
#include "mut.h" #include "mlo.h" void add_model(name) char ∗name; { MODEL = addlomodel(MODEL, name); }
mbk(1), lofig(3), getlomodel(3), freelomodel(3).
See the file buster/alliance/alc_bug_report.1.en.gz.
October 1, 1997 | ASIM/LIP6 |