1CONMBKRDS(3)                RDS PHYSICAL FUNCTIONS                CONMBKRDS(3)
2
3
4

NAME

6        conmbkrds - converts MBK connector to RDS rectangle
7

SYNOPSIS

9        #include "rfmnnn.h"
10         rdsrec_list ∗conmbkrds( Figure, Connector )
11           rdsfig_list ∗Figure;
12           phcon_list  ∗Connector;
13

PARAMETER

15       Figure              Rds Figure which has to receive the connector.
16
17       Connector           MBK connector to convert to RDS format.
18

DESCRIPTION

20       The  conmbkrds function creates a RDS rectangle (connector) with a con‐
21       nector from MBK structure phcon_list. The RDS rectangle is added to the
22       figure defined in parameter of the function.
23

RETURN VALUE

25       The pointer to the RDS rectangle created.
26

ERRORS

28       "Rds202: rdsalloc error, can't continue !"
29              it's impossible to allocate the memory size desired
30

EXAMPLE

32               #include "mphnnn.h"
33               #include "mutnnn.h"
34               #include "rdsnnn.h"
35               #include "rfmnnn.h"
36               #include "rtlnnn.h"
37               typedef struct UserStruct
38                {
39                  char ∗STRING;
40                  void ∗USER1;
41                } UserStruct;
42               main()
43                 {
44                   phfig_list  ∗MbkFigure;
45                   rdsfig_list ∗RdsFigure;
46                   rdsrec_list ∗Con;
47                   mbkenv();
48                   rdsenv();
49                   loadrdsparam();
50                   RdsFigure = addrdsfig ("core",sizeof ( UserStruct ) );
51                   MbkFigure->PHCON =
52                       addphcon ( MbkFigure,NORTH, "in_1", 9, 15, ALU1, 2);
53                   Con = conmbkrds (RdsFigure, MbkFigure->PHCON);
54                   . . .
55                 }
56

SEE ALSO

58       librfm, viewrfmcon, loadrdsparam
59
60
61
62
63
64
65ASIM/LIP6                       October 1, 1997                   CONMBKRDS(3)
Impressum