1INCATALOG(3)                 MBK UTILITY FUNCTIONS                INCATALOG(3)
2
3
4

NAME

6       incatalog - test if cell belongs to the catalog file
7

SYNOPSIS

9       #include "mut.h"
10       int incatalog(figname)
11       char ∗figname;
12

PARAMETER

14       figname             Name of the cell to be checked
15

DESCRIPTION

17       incatalog checks a cell represented by its figname being present in the
18       catalog file with the 'C' attribut.
19       This means that when flattening, the hierarchy destruction  stops  when
20       encountering  a  cell belonging to the catalog.  This is meant for both
21       logical and physical views, of course.
22       The catalog is the sum of all the catalogs of the cells libraries spec‐
23       ified  in the MBK_CATA_LIB(1) and MBK_WORK_LIB(1).  The catalogs of the
24       MBK_CATA_LIB(1) are the files called CATAL, and the MBK_WORK_LIB(1)  is
25       by default CATAL but can be changed to MBK_CATAL_NAME(1).
26

RETURN VALUE

28       incatalog returns 0 if the cell does not belong to the catalog with the
29       'C' attribut, a value different from 0 if it does.
30

EXAMPLE

32       #include "mut.h"
33       char ∗tell_if_incatalog(name)
34       char ∗name;
35       {
36          return incatalog(name) ? "Jawohl, mein Herr" : "Nein, danke";
37       }
38

SEE ALSO

40       mbk(1),    incatalogfeed(3),    incatalogdelete(3),    incataloggds(3),
41       MBK_CATAL_NAME(1), MBK_CATA_LIB(1), MBK_WORK_LIB(1).
42
43
44
45
46
47
48ASIM/LIP6                       October 1, 1997                   INCATALOG(3)
Impressum