User manual

The"Library",below,referstoanysuchsoflwmelibraryor
workwhichhasbeendistributedundertheseterms.A"work
basedontheLibraU" means edher lhe Library or any derivative
work under copyright law: that is to say, a work containing the
Library or a portion of it, either verbatim o1"with modifications
and/or translated straightfk)rwardly into another language.
(Hereinidter, translation is included wifllout limitation in the
lerm "modificalion'.)
"Source code" fk)r a work means tile preferred R)rnl of the work
fi)r making modifications to it. For a library, complete source
code means all the source code for all modules i( contains, plus
any associated intedace definition files, plus the scripts used to
control compilation and installation of the library.
Activities olher than copying, distribution and modificalion are
not covered by this License: they are outside its scope. The act
of running a progrmn using the Library is not reslricted, and
output )Tom such a program is covered only if its contents
constitule a work based on the Library (independent of the use
of the Library in a lool R)r writing it). Whether that is true
depends oll what file Library does and what the program that
ues the Library does.
1. You may copy and distribute verbatim copies of lhe
Library's complete source code as you receive it, in any
medium, provided that you conspicuously and approprialely
publish on each copy an appropriate copyright nofice and
disclaimer of warranty; keep intact all the notices that retEr
to this License and to tile absence of any warranty; and
distribute a copy of this License along with the Library.
You may charge a tee ti)r the physical act of transferring a copy,
and you may at your option offer warranty protection in
exchange tbr a fee.
2. You may modil}' your copy or copies of the Library or any
portion of it, tlms *_)rming a work based on the Library, and
copy and distribute such nlodiHeations or work under the
terms of Section 1 above, provided that you also meet all of
these conditions:
a) The modified work must itself be a sot_wam library.
b) You must cause the files modified to carry prominent
notices stating that you changed the files and the date of
any change.
c) You nmst cause the whole of the work to be licensed at
no charge 1o all third parlies under the terms of this
License.
d) If a l_cility in the modified Library relErs to a fl.mction or
a lable of data to be supplied by an application program
that uses the facility, other than as an argument passed
when the facility is invoked, then you must make a good
tldth effort to ensure that, in the event all application does
not supply such lunction or table, the facility still
operates, and perfi_rms whatever part of its purpose
renlains meaningfl.lh
(For example, a tunction in a library to compute square roots
has apurpose that is entirely well-defined independent of the
application. ThemR)re, Subsection 2d requires that any
application-supplied fnnclion or table used by this fimction
must be optional: if the application does not supply it, tile
square tool function must still compute square roots.)
These requirements apply to the modified work as a whale.
If identifiable sections of that work are not derived fl:om the
Library, and can be reasonably considered independent and
separate works in themselves, then this License, and its
ternls, do not apply to those sections when you distribute
them as separate works. But when yon distribute the same
sections as part of a whole which is a work based on the
LiNary, the dislribution of the whole musl be. on tile terms of
this License, whose permissions tk_rother licensees extend to
the entire whole, and lhus 1o each and every part regardless
of who wrote it.
Thus. it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is
to exercise the right to control the distribution of derivative or
collective works based on the Library.
In addilion, mere aggregation of another work not based on lhe
Library with the Library (or with a work based on the Library)
on a volume of a storage or distribution medium does not bring
the other work under the scope of this License.
3. Yon may opt to apply the ternls of the ordinm'y GNU General
Public License instead of this License to a given copy of the
Library. To do this, you must alter all the notices that refer to
this License, so that they refer to the ordinary GNU General
Public License. version 2. instead of to this License. (If a
newer version than version 2 of tile ordinary GNU General
Public License has appeared then you can specily_ that
version instead if you wish.) Do not nlake ally other change
in these notices.
Once this change is made in a given copy, it is irreversible thr
that copy, so the ordinary GNU General Public License applies
to all subsequent copies and derivative works made tYonl that
copy.
This option is usefill when you wish to copy part of the code of
the Library into a progranl that is not a library.
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable
fornl under the tern/s of Seclions 1and 2 above provided that
you accompany it with tile complete corresponding machine-
readable source code, which nmst be distributed under the
terms of Sections 1 and 2 above on a mediunl cuslonlarily
used t_)r sol, ware interchange.
If distribution of objecl code is made by offering access to copy
from a designated place, then offering equivalenl access to copy
the source code fi'om the same place satisfies the requirement to
distribule the source code, even though third parties are not
compelled to copy the source along with the object code.
5. A program that contains no derivative of any portion of the
Library, but is designed to work with the Library by being
conlpiled or linked with it, is called a "work that uses the
Library". Such a work, in isolation, is not a derivative work
of the Library, and therelhre falls outside the scope of this
License.
However, linking a "work that uses the Library" with the Library
creates an executable that is a derivative of the Library (because
it contains portions of the Library), rather than a "work that uses
lhe library". The executable is lherefi)m covered by this License.
Section 6 states terms tk)rdistribution of such executables.
When a "work that uses the Library" uses nlatcrial fi'om a header
file that is part of lhe Library, the object code k)r the work may
be a derivative work of the Library even though the source code
is nol. Whether this is true is especially significant if lhe work
call be linked without the Library, or if the work is itself a
library. The threshold ti)r this 1o be lrue is not precisely defined
by law.
If such an object file uses only nmnerieal parameters, data
structure layouts and assessors, lind sinai[ n/acros and slna]l
inline lunctions (ten lines or less in length), then lhe use of the
object file is unrestricted, regardless of whether it is legally a
derivative work. (Executables conIaining this ot_ject code plus
portions of the Library will still fidl under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the objecl code for the work under the terms of Section
6. Any executables containing that work also fall under Section
6, whether or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also
combine or link a "work that uses the Library" with tile
Library to produce a work containing portions of the Library,
and distribute that work under terms of your choice, provided
that the terms permit modification of the work fZ)r tile
customer's own use and reverse engineering fi)r debugging
such modifications.
m
m
,_continued 71