1GETLOINS(3)                  MBK LOGICAL FUNCTIONS                 GETLOINS(3)
2
3
4

NAME

6       getloins - retrieve a logical instance
7

SYNOPSIS

9       #include "mlo.h"
10       loins_list ∗getloins(ptfig, name)
11       lofig_list ∗ptfig;
12       char ∗name;
13

PARAMETERS

15       ptfig               Pointer  to the figure in which the instance should
16                           be seeked
17
18       name                Name of the instance
19

DESCRIPTION

21       getloins looks in the list of instances of the logical model pointed to
22       by  ptfig  for  a  instance  identified  by  its name. This instance is
23       unique, since the name is the instance identifier.
24

RETURN VALUE

26       getloins returns a pointer to the instance that matches the name.
27

ERRORS

29       "∗∗∗ mbk error ∗∗∗ illegal getloins instance name doesn't exist in fig‐
30       ure ptfig->NAME"
31              No instance is called name in the figure.
32

EXAMPLE

34       #include "mlo.h"
35       loins_list ∗get_ins_by_name(figname, insname)
36       char ∗figname, ∗insname;
37       {
38          return getloins(getlofig(figname), insname);
39       }
40

SEE ALSO

42       mbk(1), lofig(3), loins(3), addloins(3), delloins(3).
43
44
45
46
47
48
49ASIM/LIP6                       October 1, 1997                    GETLOINS(3)
Impressum