User manual
source code fromthe sameplace satisfiesthe requirement to distribute the source code, even thoughthird
partiesarenotcompelledtocopythesourcealongwiththeobjectcode.
5. A program that contains no derivative of any portion of the Library, but is designed to work with the
Libraryby beingcompiledorlinkedwithit,iscalleda "workthatusestheLibrary".Suchawork,inisolation,
isnota derivativeworkof theLibrary,and thereforefallsoutside 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 covered bythis License. Section 6states terms fordistribution of such executables.When a "work
thatusestheLibrary" uses materialfromaheader file thatispartof the Library,theobjectcode for thework
maybea derivativework of theLibrary even thoughthe source codeis not. Whetherthis is trueis especially
significantiftheworkcanbelinkedwithouttheLibrary,oriftheworkisitselfalibrary.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,ifthework is aderivativeofthe Library, youmaydistributetheobject codefortheworkunder
the terms ofSection 6.Any executables containingthat workalso fall underSection 6, whether or not they
arelinkeddirectlywiththeLibraryitself.
6. As anexception tothe Sections above,you mayalso combine orlink a"work that usesthe Library"with
the Library to produce a work containing portions of the Library, and distribute that work under terms of
yourchoice,provided that the terms permit modificationoftheworkforthecustomer'sownuseandreverse
engineeringfor debuggingsuch modifications.Youmust giveprominent noticewith eachcopy ofthe work
that the Libraryis used in it and thatthe Library and its use arecovered by this License. You must supply a
copyofthisLicense. If theworkduringexecution displays copyrightnotices,youmust include thecopyright
noticeforthe Library amongthem,as wellasa reference directingtheuser tothecopy of 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 executable linkedwith the Library, with
thecompletemachine-readable"workthatusesthe Library",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 whochanges the contents of definitions files inthe Library will not
necessarily be able to recompile the application to use themodified definitions.) b) Use a suitable shared
librarymechanismforlinkingwiththeLibrary.Asuitablemechanismisonethat(1)usesatruntime acopy
of the libraryalready present on the user'scomputer system, rather than copyinglibrary functions into the
executable, and (2) will operateproperly witha modified versionof thelibrary, if theuser installsone, as
long as the modified version is interface-compatible with the version that the work was made with. c)
Accompany thework witha written offer,valid for atleast three years,to give thesame user thematerials
specified in Subsection 6a,above, for acharge nomore thanthe costof performingthis distribution.d) If
distributionof the workis madeby offering accessto copy froma designatedplace, offer equivalentaccess
to copy the above specified materials from the same place. e) Verify that the user has already received a
copyof these materialsor thatyou havealready sent thisuser acopy. For anexecutable, therequired form
of the "workthat uses the Library" must include any dataand utility programs needed for 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) of the operatingsystemonwhichthe executable runs, unlessthatcomponent
itself accompanies theexecutable.It may happen that thisrequirement contradicts the license restrictions
of other proprietary libraries thatdo not normallyaccompany 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,
providedthat theseparate distributionof thework basedon theLibrary andofthe other library facilities is
otherwisepermitted, and provided that you dothesetwothings: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 attempt otherwise to copy,modify, sublicense, link with, ordistribute the Library is
void, and will automatically terminate your rights under this License. However, parties who have received
copies, or rights,from youunder thisLicense will not have their licenses terminated so longas suchparties
remaininfullcompliance.
9.Youare not requiredtoacceptthisLicense, since youhavenotsignedit. However, nothingelsegrantsyou
permission tomodify or distributethe Library orits derivative works.These actions areprohibited by lawif
youdo not accept thisLicense. Therefore,by modifyingor distributing the Library(or anywork basedon the
Library), you indicateyour acceptance of this License todo so, and all its termsand conditionsfor copying,
distributingormodifyingtheLibraryorworksbasedonit.
10. Each timeyou redistribute the Library (or anywork based on the Library), therecipient automatically
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 from the conditions of this
License. If you cannotdistribute soas tosatisfy simultaneously your obligations underthis Licenseand any
otherpertinent obligations,thenasaconsequenceyoumaynot distributetheLibraryatall.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 fromdistribution of the Library.If any portion of thissection is held invalid orunenforceable
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 property right claims orto contestvalidity of any such claims; thissection has
thesole purpose of protectingthe integrityof the free softwaredistribution systemwhich isimplemented by
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 decideif he or sheis willing to distribute softwarethrough any other systemand 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
copyrighted interfaces, theoriginal copyrightholder whoplaces the Libraryunder thisLicense mayadd an
explicitgeographical distributionlimitationexcludingthosecountries,sothatdistributionispermittedonly
in or amongcountries not thus excluded. Insuch case, this Licenseincorporates the limitation as ifwritten
inthebodyofthisLicense.
13. The Free Software Foundation may publish revised and/or new versions of the Lesser General Public
Licensefrom timetotime.Suchnewversionswillbesimilarinspiritto the presentversion,butmaydifferin
detail toaddress new problems or concerns. Each version is given a distinguishing version number. If the
Library specifies a version numberof this Licensewhich applies toit and "anylater version", youhave the
option of followingthe termsand conditionseither ofthat version or of any later version published by the
Free Software Foundation. If the Library does not specify a license version number, you may choose any
versioneverpublishedbytheFreeSoftwareFoundation.
14.If youwishtoincorporatepartsoftheLibraryintootherfree programswhosedistributionconditionsare
incompatiblewiththese, writeto the authorto ask forpermission. For softwarewhich is copyrightedby the
FreeSoftware Foundation,write to the FreeSoftware Foundation; we sometimes make exceptionsfor this.
Our decision will be guided by the two goals of preserving the free status of all derivatives of our free
softwareandofpromotingthesharingandreuseofsoftwaregenerally.
NOWARRANTY
15.BECAUSETHELIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY,TO
THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE
COPYRIGHT HOLDERSAND/OR OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUTWARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIESOF MERCHANTABILITY ANDFITNESS FORA PARTICULAR PURPOSE.THE ENTIRERISK AS TO
THE QUALITY AND PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE
DEFECTIVE, YOUASSUME THE COST OFALL NECESSARY SERVICING, REPAIR OR CORRECTION.16. IN NO
EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT
HOLDER, OR ANY OTHER PARTY WHOMAY MODIFYAND/OR REDISTRIBUTE THELIBRARY ASPERMITTED
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 NOT LIMITEDTO LOSS OF DATAOR DATA BEING RENDEREDINACCURATE OR LOSSES SUSTAINEDBY
YOUORTHIRDPARTIESORAFAILURE OF THELIBRARYTOOPERATE WITHANYOTHERSOFTWARE),EVEN
IFSUCH HOLDER OROTHER PARTYHAS BEENADVISED OF THEPOSSIBILITY OFSUCH DAMAGES. ENDOF
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 the copyrightowner thatis grantingthe License."Legal Entity" shall mean the union of the
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
directionor management ofsuch entity,whether bycontract orotherwise, or(ii) ownershipof fiftypercent
(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
copyrightnoticethatisincludedinorattachedtothework(anexampleisprovidedinthe Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived
from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works
shall not includeworks that remain separablefrom, or merely link (or bindby name) to the interfaces of,
Apache LicenseVersion 2.0
20