blob: 5eff1ab1b54adbd365eddd3dbcb40b8b659f4015 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<head>
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META NAME="GENERATOR" CONTENT="StarOffice 8 (Solaris Sparc)">
<META NAME="AUTHOR" CONTENT="Ingo Schmidt">
<META NAME="CREATED" CONTENT="20020419;13085671">
<META NAME="CHANGED" CONTENT="20070730;16420000">
</head>
<body LANG="de-DE" DIR="LTR">
<P ALIGN=LEFT STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT SIZE=6>Definition
of a Unixlink </FONT></FONT>
</P>
<P><BR><BR>
</P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">The
keyword for a link definition on Unix systems is <B>Unixlink</B>. A
global ID of a unixlink should begin with <B>gid_Unixlink </B>.
Unixlinks have to be assigned to modules in the definition block of
the module. A typical definition of a procedure in the scp projects
looks like:</FONT></P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT FACE="Verdana, sans-serif"><SPAN STYLE="font-weight: medium">#ifdef
UNX<BR>Unixlink gid_Unixlink_Zip<BR>BIN_FILE_BODY;<BR>Styles =
();<BR>Dir = gid_Dir_Program;<BR>Name = &bdquo;ziplink&ldquo;;<BR>Target
= &bdquo;/usr/bin/zip&ldquo;;<BR>End<BR>#endif</SPAN></FONT></FONT></P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT FACE="Verdana, sans-serif"><SPAN STYLE="font-weight: medium">#ifdef
UNX<BR>Unixlink gid_Unixlink_Unzip<BR>BIN_FILE_BODY;<BR>Styles =
();<BR>Dir = gid_Dir_Program;<BR>Name = &bdquo;unziplink&ldquo;;<BR>Target
= &bdquo;/usr/bin/unzip&ldquo;;<BR>End<BR>#endif</SPAN></FONT></FONT></P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT FACE="Verdana, sans-serif"><SPAN STYLE="font-weight: medium">Assignment
at a Module:</SPAN></FONT></FONT></P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif"><FONT FACE="Verdana, sans-serif"><SPAN STYLE="font-weight: medium">Unixlinks
= (gid_Unixlink_Zip, gid_Unixlink_Unzip);</SPAN></FONT></FONT></P>
<P STYLE="font-weight: medium"><FONT FACE="Verdana, sans-serif">The
definition of a Unixlink is simple. The link has a name, some
privileges (555 in the case of BIN_FILE_BODY), a directory, in which
the link is created, and a target. In the first example above, a link
named &bdquo;ziplink&ldquo; is created in the program directory in
the Office installation, that points to the file &bdquo;/usr/bin/zip&ldquo;.
</FONT>
</P>
<P STYLE="font-weight: medium"><BR><BR>
</P>
</body>
</HTML>