1 This work may be reproduced and distributed in whole or in part, in
2 any medium, physical or electronic, so as long as this copyright
3 notice remains intact and unchanged on all copies. Commercial
4 redistribution is permitted and encouraged, but you may not
5 redistribute, in whole or in part, under terms more restrictive than
6 those under which you received it. If you redistribute a modified or
7 translated version of this work, you must also make the source code to
8 the modified or translated version available in electronic form
9 without charge. However, mere aggregation as part of a larger work
10 shall not count as a modification for this purpose.
12 All code examples in this work are placed into the public domain,
13 and may be used, modified and redistributed without restriction.
15 BECAUSE THIS WORK IS LICENSED FREE OF CHARGE, THERE IS NO
16 WARRANTY FOR THE WORK, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
17 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
18 OTHER PARTIES PROVIDE THE WORK "AS IS" WITHOUT WARRANTY OF ANY
19 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
20 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 PURPOSE. SHOULD THE WORK PROVE DEFECTIVE, YOU ASSUME
22 THE COST OF ALL NECESSARY REPAIR OR CORRECTION.
24 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
25 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
26 AND/OR REDISTRIBUTE THE WORK AS PERMITTED ABOVE, BE LIABLE TO YOU
27 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
28 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
29 WORK, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
30 POSSIBILITY OF SUCH DAMAGES.