GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GETRDSMODELLIST(3) RDS PHYSICAL FUNCTIONS GETRDSMODELLIST(3)

getrdsmodellist - gets model list of the instances of a figure

See the file man1/alc_origin.1.

#include "rutnnn.h"

ptype_list ∗getrdsmodellist( Figure )
rdsfig_list ∗Figure;

The figure which contains the models to extract.

The getrdsmodellist function gets list of instance's models of the figure ´Figure´. The data structure returned "ptype_list" is defined ( in MBK library mutnnn.h ) as follows :

typedef struct ptype 

{
struct ptype ∗NEXT; /∗ next pointer ∗/
void ∗DATA; /∗ generic pointer ∗/
long TYPE; /∗ type ∗/
} ptype_list;

The field ´DATA´ of ptype_list structure contains the pointer to the rdsfig_list structure.

The getrdsmodellist function returns a pointer which is head of pointer's list of the instances's models of the figure. If the list is empty, NULL pointer is returned.

none


#include "mphnnn.h"
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rutnnn.h"
#include "rtlnnn.h"
main()
{
phfig_list ∗MbkFigure;
rdsfig_list ∗RdsFigure;
ptype_list ∗FigureList;
ptype_list ∗ScanFigureList;
mbkenv();
rdsenv();
loadrdsparam();
MbkFigure = getphfig("core",'A');
RdsFigure = figmbkrds(MbkFigure,0,0);
FigureList = getrdsmodellist( RdsFigure );
for (
ScanFigureList = FigureList ;
ScanFigureList != (ptype_list ∗) NULL ;
ScanFigureList = ScanFigureList->NEXT
)
viewrdsfig ( (rdsfig_list ∗) ScanFigureList->DATA );
. . .
}

librut, Mutlibrary

See the file man1/alc_bug_report.1.

October 1, 1997 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.