|
NAMErestorealldir - restore all instances' connectors directions See the file man1/alc_origin.1. SYNOPSIS#include "mlo.h" int restorealldir(ptfig) lofig_list ∗ptfig; PARAMETER
DESCRIPTIONThe restorealldir function restores the directions of all
the connectors of the instances. Each instance model logical view is loaded,
and the restoredirvbe function applied. If a model doesn't have a
vbe file on the path, the restorealldir and guessextdir
functions are used on the model.
RETURN VALUErestorealldir returns 1 on success, 0 if there is an error while reading the vbe file. ERRORrestorealldir cannot give any errors, but the function use restoredirvbe that can give errors reading vbe files. see restoredirvbe for details. EXAMPLE
#include "mut.h"
#include "mlo.h"
lofig_list ∗ getgoodlofig(figname, mode)
char ∗figname;
char mode;
{
lofig_list ∗ptfig;
ptfig = getlofig(figname, mode);
restorealldir(ptfig);
return ptfig;
}
SEE ALSOmbk(1), lofig(3), locon(3), getlofig(3), restoredirvbe(3). guessextdir(3). See the file man1/alc_bug_report.1.
|