|
NAMEaddlomodel - create a tempotary logical model and add it to a list See the file man1/alc_origin.1. SYNOPSIS#include "mlo.h" lofig_list ∗addlomodel(model, name) lofig_list ∗model; char ∗name; PARAMETERSDESCRIPTIONaddlomodel 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.
RETURN VALUEaddlomodel returns a pointer to the new head of model list. ERROR"∗∗∗ mbk error ∗∗∗ addlomodel impossible : model name already exists" The model, not the figure, is already present in the
model list pointed to by model, and since a model should be unique,
this can't be.
EXAMPLE
#include "mut.h"
#include "mlo.h"
void add_model(name)
char ∗name;
{
MODEL = addlomodel(MODEL, name);
}
SEE ALSOmbk(1), lofig(3), getlomodel(3), freelomodel(3). See the file man1/alc_bug_report.1.
|