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


Manual Reference Pages  -  ADDPHREF (3)

[Include document man1/alc_contents.mac]

   addphref    addphref

NAME

addphref - create a physical reference

[Include document man1/alc_origin.1]

CONTENTS

Synopsys
Parameters
Description
Return Value
Example
See Also

SYNOPSYS






#include "mph.h"
phref_list *addphref(ptfig, type, name, x, y)
phfig_list *ptfig;
char *type;
char *name;
long x, y;


PARAMETERS

ptfig Pointer to the figure in which the reference should be added
type Reference type
name Reference name
x, y Coordinates of the center of the reference.

DESCRIPTION

addphref creates a new reference whose center is at the given coordinates, and adds it to the list of references pointed to by ptfig->PHREF. The new reference is added in front of the list, and becomes itself the list head.
The parameters type, name, x and y fill respectivly the FIGNAME, NAME, XREF and YREF fields of the phref structure.
The types may have any value, but only two type are now recognized by tools based upon mbk :
"ref_con" for multi-access connectors
"ref_ref" for cell programming
For details on the structure, see phref(3).

RETURN VALUE

addphref returns a pointer to the newly created reference.

EXAMPLE






#include "mph.h"
phref_list *ref_dup(pfd, pfs) /* duplicate refs */
phfig_list *pfd, *pfs;
{
phref_list *pr;
   for (pr = pfs->phref; pr != NULL; pr = pr->NEXT)
      addphref(pfd, pr->FIGNAME, pr->NAME, pr->XREF, pr->YREF);
   return pfd->PHREF;
}


SEE ALSO

mbk(1), phfig(3), phref(3), getphref(3), delphref(3).

[Include document man1/alc_bug_report.1]

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


ASIM/LIP6 ADDPHREF (3) October 1, 1997

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