User manual

complete corresponding machine-readable source code, which must be distributed under the terms of
Sections 1 and 2 above on a medium customarily used for software interchange. If distribution of object
codeismadebyofferingaccessto copyfrom adesignatedplace,thenoffering equivalentaccess tocopythe
source code fromthe same place satisfiesthe requirement to distribute thesource code, even thoughthird
partiesarenotcompelledtocopythesourcealongwiththeobjectcode.
5. A program that contains no derivative of any portion of the Library, but is designed to work with the
Librarybybeingcompiledorlinkedwithit,iscalleda "workthatusestheLibrary".Suchawork,inisolation,
isnot aderivativework ofthe Library,andtherefore fallsoutside thescopeof thisLicense. 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 the library". The executable is
therefore coveredbythisLicense.Section6states termsfor distributionof such executables. When a "work
thatuses theLibrary" usesmaterial froma headerfile thatis partof theLibrary, theobject codefor thework
maybe aderivativework ofthe Libraryeventhough thesource codeisnot. Whetherthisis trueis especially
significantiftheworkcanbelinkedwithouttheLibrary,or ifthework isitselfalibrary.Thethresholdforthis
to be true is not precisely defined by law.If such an object file uses only numerical parameters, data
structure layouts and accessors, and small macros and small inline functions (ten lines or less in length),
then the use of the object file is unrestricted, regardless of whether it is legally a derivative work.
(Executables containing this object code plus portions of the Library will still fall under Section
6.)Otherwise,if thework isa derivativeof theLibrary,youmaydistributetheobjectcodefortheworkunder
the terms of Section 6. Any executables containing that work also fall under Section 6, whetheror notthey
arelinkeddirectlywiththeLibraryitself.
6.Asanexceptionto theSections above, you mayalsocombineorlink a"work that uses the Library"with
the Library to produce a work containing portions of the Library, and distribute that work under terms of
yourchoice,provided thatthetermspermitmodificationoftheworkforthecustomer'sownuseandreverse
engineeringfordebugging such modifications.You mustgiveprominent notice witheachcopy of thework
that the Library is used in it and that the Library and its use are covered by this License. You must supply a
copyof thisLicense. Ifthe workduring executiondisplays copyrightnotices, youmust includethe copyright
noticefor theLibrary amongthem,aswellas areference directingtheusertothe copyof thisLicense. Also,
you must do one of these things: a) Accompany the work with the complete corresponding machine-
readable source code for the Library including whatever changes were used in the work (which must be
distributed underSections 1 and 2 above); and, ifthe work is an executablelinked with the Library, with
thecompletemachine-readable"workthatusestheLibrary",asobjectcodeand/orsourcecode,sothatthe
user can modify the Library and then relink to produce a modified executable containing the modified
Library. (Itis understood that the user who changesthe contents of definitions files in theLibrary will not
necessarily be able torecompile theapplication touse the modified definitions.) b)Use asuitableshared
librarymechanismforlinkingwiththeLibrary.Asuitablemechanismisonethat(1)usesatruntimeacopy
of the library already present on the user's computer system, rather than copying library functions into the
executable, and (2)will operateproperly with a modifiedversion ofthe library, if theuser installsone, as
long as the modified version is interface-compatible with the version that the work was made with. c)
Accompany thework with a written offer,validforatleastthree years,to give the same user the materials
specified in Subsection6a, above,for a charge nomore than the cost ofperforming thisdistribution. d) If
distributionof theworkis madebyoffering accesstocopy fromadesignated place,offer equivalentaccess
to copy the above specified materials from the same place. e) Verify that the user has already received a
copyof these materialsor that youhave already sentthis user acopy. For anexecutable, the requiredform
of the "work that uses the Library" must include anydata and utilityprograms neededfor reproducing the
executable from it. However, as a special exception, the materials to be distributed need not include
anything that is normally distributed (in either source or binary form) with the major components
(compiler,kernel,andsoon)oftheoperatingsystem onwhich theexecutable runs,unlessthatcomponent
itself accompanies the executable.It may happenthat this requirementcontradicts the licenserestrictions
of otherproprietary librariesthat do not normally accompany the operating system. Such a contradiction
meansyoucannotuseboththemandtheLibrarytogetherinanexecutablethatyoudistribute.
7. You may place library facilities that are a work based on the Library side-by-side in a single library
together with other library facilities not covered by this License, and distribute such a combined library,
providedthattheseparate distributionof the workbasedonthe Libraryand of theotherlibraryfacilities is
otherwisepermitted,and providedthatyoudothesetwothings:a)Accompanythecombinedlibrarywitha
copy of the same work based on the Library, uncombined with any other library facilities. This must be
distributedunderthetermsoftheSectionsabove.b)Giveprominentnoticewiththecombinedlibraryofthe
fact that part of it is a work based on the Library, and explaining where to find the accompanying
uncombinedformofthesamework.
8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided
under thisLicense. Any attemptotherwise to copy, modify,sublicense, link with,or distribute theLibrary is
void, and will automatically terminate your rights under this License. However, parties who have received
copies, or rights,from you under thisLicense will not have theirlicenses terminated so longas such parties
remaininfullcompliance.
9.Youare notrequiredtoacceptthisLicense,sinceyouhavenotsigned it.However, nothingelse grantsyou
permission tomodify ordistribute the Library or its derivative works.These actionsare prohibited by law if
youdonot acceptthis License.Therefore,by modifyingordistributingtheLibrary (oranyworkbased onthe
Library), you indicateyour acceptance ofthis License todo so, and allits terms andconditions for copying,
distributingormodifyingtheLibraryorworksbasedonit.
65
10. Each timeyou redistribute theLibrary (or anywork based onthe Library), the recipientautomatically
receives a license from the original licensor to copy, distribute, link with or modify the Library subject to
these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the
rightsgrantedherein.YouarenotresponsibleforenforcingcompliancebythirdpartieswiththisLicense.
11. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason
(not limited to patent issues), conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not excuse you fromthe conditions of this
License. If you cannot distribute soas tosatisfy simultaneouslyyour obligationsunderthis License and any
otherpertinentobligations,thenasaconsequenceyoumaynotdistributetheLibraryatall.Forexample,ifa
patent license would not permit royalty-free redistribution of the Library by all those who receive copies
directly or indirectly through you, then the only way you could satisfy both it and this License would be to
refrain entirely fromdistributionoftheLibrary.Ifanyportionof thissection isheld invalidor unenforceable
under any particular circumstance, the balance of the section is intended to apply, and the section as a
whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to
infringe any patentsor other propertyright claims or tocontest validity ofany such claims; thissection has
thesolepurpose ofprotecting theintegrityof thefreesoftwaredistribution systemwhich isimplementedby
public license practices. Many people have made generous contributions to the wide range of software
distributed through that system in reliance on consistent application of that system; it is up to the
author/donor to decideifheorsheiswillingtodistribute softwarethrough anyother system and a licensee
cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a
consequenceoftherestofthisLicense.
12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by
copyrightedinterfaces,theoriginal copyrightholder who places theLibraryunderthisLicense mayadd an
explicitgeographicaldistributionlimitationexcludingthosecountries,sothatdistributionispermittedonly
in or among countries not thus excluded. In such case, this License incorporatesthelimitationasifwritten
inthebodyofthisLicense.
13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public
Licensefromtimetotime.Suchnewversionswillbesimilarinspiritto thepresentversion,butmaydifferin
detail toaddress new problems or concerns.Each version is given adistinguishing version number. If the
Library specifies a versionnumber ofthis License which appliesto itand "any later version",you havethe
option of followingthe terms and conditions eitherof that version orof any later versionpublished by the
Free Software Foundation. If the Library does not specify a license version number, you may choose any
versioneverpublishedbytheFreeSoftwareFoundation.
14.Ifyouwishtoincorporateparts oftheLibraryintootherfreeprogramswhosedistributionconditionsare
incompatiblewith these,writeto theauthor toaskfor permission.Forsoftware whichis copyrightedbythe
FreeSoftwareFoundation, write totheFree SoftwareFoundation;wesometimes makeexceptionsforthis.
Our decision will be guided by the two goals of preserving the free status of all derivatives of our free
softwareandofpromotingthesharingandreuseofsoftwaregenerally.
NOWARRANTY
15.BECAUSETHE LIBRARYISLICENSED FREEOFCHARGE, THEREISNO WARRANTYFORTHE LIBRARY,TO
THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
COPYRIGHT HOLDERSAND/OR OTHER PARTIESPROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIESOF MERCHANTABILITY ANDFITNESS FORAPARTICULAR PURPOSE.THEENTIRE RISKASTO
THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE
DEFECTIVE, YOUASSUME THE COSTOF ALL NECESSARY SERVICING, REPAIR ORCORRECTION.16. IN NO
EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
HOLDER, OR ANY OTHERPARTY WHOMAY MODIFYAND/OR REDISTRIBUTE THE LIBRARYAS PERMITTED
ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE LIBRARY (INCLUDING
BUT NOTLIMITEDTOLOSSOFDATAORDATABEINGRENDEREDINACCURATE ORLOSSES SUSTAINEDBY
YOUOR THIRDPARTIESOR AFAILURE OFTHE LIBRARYTO OPERATEWITH ANYOTHER SOFTWARE), EVEN
IFSUCH HOLDER OROTHER PARTYHAS BEENADVISEDOF THEPOSSIBILITY OF SUCHDAMAGES. END OF
TERMSANDCONDITIONS
, January 2004http://www.apache.org/licenses/ TERMS AND
CONDITIONSFORUSE,REPRODUCTION,ANDDISTRIBUTION
1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as
defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity
authorized by thecopyright owner that is grantingthe License. "Legal Entity"shall mean the union ofthe
acting entity and all other entities that control, are controlled by, or are under common control with that
entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the
directionormanagementof suchentity, whether bycontractorotherwise, or(ii) ownership offiftypercent
(50%)ormoreoftheoutstandingshares,or(iii)beneficialownershipofsuchentity."You"(or"Your")shall
mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall
mean the preferred form for making modifications, including but not limited to software source code,
documentation source, and configuration files. "Object" form shall mean any form resulting from
mechanical transformation or translation of a Source form, including but not limited to compiled object
code, generated documentation, and conversions to other media types. "Work" shall mean the work of
authorship, whether in Source or Object form, made available under the License, as indicated by a
Apache LicenseVersion 2.0