viewrfmins(3)
displays instance caracteristics in MBK and RDS format.
SYNOPSYS
#include "rfmnnn.h"
void viewrfmins( InstanceMbk, InstanceRds )
phins_list *InstanceMbk;
rdsins_list *InstanceRds;
PARAMETER
- InstanceMbk
-
MBK instance to visualizate
- InstanceRds
-
RDS instance to visualizate
DESCRIPTION
The viewrfmins function displays caracteristics of an instance in MBK and RDS format.
RETURN VALUE
nothing
ERRORS
none
EXAMPLE
#include "mphnnn.h"
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rfmnnn.h"
#include "rtlnnn.h"
typedef struct UserStruct
{
char *STRING;
void *USER1;
} UserStruct;
main()
{
phfig_list *MbkFigure;
phins_list *MbkInstance;
rdsfig_list *RdsFigure;
rdsins_list *RdsInstance;
mbkenv();
rdsenv();
loadrdsparam();
/* creates MbkFigure Named "core" */
MbkFigure = addphfig("core");
/* adds Mbk instance "n1_y" to MbkFigure named "core" */
MbkInstance = addphins(MbkFigure,"n1_y","inv_1",NOSYM,4,9);
/* creates RdsFigure named "core_2" */
RdsFigure = addrdsfig("core_2",sizeof(UserStruct));
/* creates RdsInstance with MbkInstance */
RdsInstance = insmbkrds ( RdsFigure, MbkInstance, 'A', 0 );
/* views Mbk and Rds Instance */
/* */ viewrfmins ( MbkInstance, RdsInstance );
}