getlocon.3alc - Man Page

retrieve a logical connector

Synopsis

#include "mlo.h"
locon_list ∗getlocon(ptfig, name)
lofig_list ∗ptfig;
char ∗name;

Parameters

ptfig

Pointer to the figure in which the connector should be seeked

name

Name of the connector

Description

getlocon looks in the list of connectors of the logical model pointed to by ptfig for a connector identified by its name, since it should be unique at a given hierachical level.

Return Value

getlocon returns a pointer to the given connector.

Errors

"∗∗∗ mbk error ∗∗∗ getlocon impossible : connector name doesn't exist in figure ptfig->NAME"

No connector matches the name.

Example

#include "mlo.h"
locon_list ∗exist(figname, conname)
char ∗figname, ∗conname;
{
   return getlocon(getlofig(figname), conname);   
}

See Also

mbk(1), lofig(3), locon(3), addlocon(3), dellocon(3).

Referenced By

addlocon.3alc(3), dellocon.3alc(3), locon.3alc(3).

October 1, 1997 ASIM/LIP6 MBK LOGICAL FUNCTIONS