1GETLOMODEL(3) MBK LOGICAL FUNCTIONS GETLOMODEL(3)
2
3
4
6 getlomodel - retrieve a model from a lofig_list
7
9 #include "mut.h"
10 lofig_list ∗getlomodel(model, name)
11 lofig_list ∗model;
12 char ∗name;
13
15 model Pointer to a lofig list
16
17 name String indicating the model to be looked for
18
20 getlomodel seeks a lofig element in the list pointed to by model.
21
23 getlomodel returns a pointer to the lofig that match the name. If no
24 lofig has the given name, then NULL is returned.
25
27 #include "mlo.h"
28 locon_list *get_model_cons(model, name)
29 lofig_list ∗model;
30 char ∗name;
31 {
32 lofig_list ∗p = getlomodel(model, name);
33 return p ? p->LOCON : NULL;
34 }
35
37 mbk(1), lofig(3), addlomodel(3), freelomodel(3), dellomodel(3).
38
39
40
41
42
43
44ASIM/LIP6 October 1, 1997 GETLOMODEL(3)