send.c: fix compiler warnings..
[s-mailx.git] / COPYING
blob68b5e07d06ac5fe29d6b881c507f77df0a212014
1 /*
2  * Copyright (c) 1980, 1993
3  *      The Regents of the University of California.  All rights reserved.
4  * Copyright (c) 1996
5  *      Christos Zoulas.  All rights reserved.
6  * Copyright (c) 2000
7  *      Gunnar Ritter. All rights reserved.
8  *
9  * Redistribution and use in source and binary forms, with or without
10  * modification, are permitted provided that the following conditions
11  * are met:
12  * 1. Redistributions of source code must retain the above copyright
13  *    notice, this list of conditions and the following disclaimer.
14  * 2. Redistributions in binary form must reproduce the above copyright
15  *    notice, this list of conditions and the following disclaimer in the
16  *    documentation and/or other materials provided with the distribution.
17  * 3. All advertising materials mentioning features or use of this software
18  *    must display the following acknowledgements:
19  *      This product includes software developed by the University of
20  *              California, Berkeley and its contributors.
21  *      This product includes software developed by Christos Zoulas.
22  *      This product includes software developed by Gunnar Ritter
23  *              and his contributors.
24  * 4. Neither the name of the University nor the names of its contributors
25  *    nor the name of Gunnar Ritter nor the names of his contributors
26  *    may be used to endorse or promote products derived from this software
27  *    without specific prior written permission.
28  *
29  * THIS SOFTWARE IS PROVIDED ``AS IS'', AND ANY EXPRESS OR IMPLIED WARRANTIES,
30  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
31  * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
32  * THE DEVELOPERS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
33  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
34  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
35  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
36  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
37  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
38  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39  */
40 ==========================================================================
43  * For base64.c:
44  *
45  * Portions Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
46  *
47  * Permission to use, copy, modify, and distribute this material 
48  * for any purpose and without fee is hereby granted, provided 
49  * that the above copyright notice and this permission notice 
50  * appear in all copies, and that the name of Bellcore not be 
51  * used in advertising or publicity pertaining to this 
52  * material without the specific, prior written permission 
53  * of an authorized representative of Bellcore.  BELLCORE 
54  * MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
55  * OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
56  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
57  */
58 ==========================================================================
60 The Institute of Electrical and Electronics Engineers and The Open Group,
61 have given us permission to reprint portions of their documentation.
63 In the following statement, the phrase ``this text'' refers to portions
64 of the system documentation.
66 Portions of this text are reprinted and reproduced in electronic form in
67 the 'nail' mail user agent, from IEEE Std 1003.1, 2003 Edition, Standard for
68 Information Technology -- Portable Operating System Interface (POSIX),
69 The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the
70 Institute of Electrical and Electronics Engineers, Inc and The Open Group.
71 In the event of any discrepancy between these versions and the original
72 IEEE and The Open Group Standard, the original IEEE and The Open Group
73 Standard is the referee document.
75 The original Standard can be obtained online at
76 http://www.opengroup.org/unix/online.html .
78 This notice shall appear on any product containing this material.
79 ==========================================================================
82  * imap_gssapi.c is partially derived from sample code in:
83  * GSS-API Programming Guide
84  * Part No: 816-1331-11
85  * Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A.
86  *
87  * (c) 2002 Sun Microsystems
88  */
90  * Copyright 1994 by OpenVision Technologies, Inc.
91  * 
92  * Permission to use, copy, modify, distribute, and sell this software
93  * and its documentation for any purpose is hereby granted without fee,
94  * provided that the above copyright notice appears in all copies and
95  * that both that copyright notice and this permission notice appear in
96  * supporting documentation, and that the name of OpenVision not be used
97  * in advertising or publicity pertaining to distribution of the software
98  * without specific, written prior permission. OpenVision makes no
99  * representations about the suitability of this software for any
100  * purpose.  It is provided "as is" without express or implied warranty.
101  * 
102  * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
103  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
104  * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
105  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
106  * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
107  * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
108  * PERFORMANCE OF THIS SOFTWARE.
109  */
110 ==========================================================================
112 /* md5.h and md5.c are derived from RFC 1321:
114 Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
115 rights reserved.
117 License to copy and use this software is granted provided that it
118 is identified as the "RSA Data Security, Inc. MD5 Message-Digest
119 Algorithm" in all material mentioning or referencing this software
120 or this function.
122 License is also granted to make and use derivative works provided
123 that such works are identified as "derived from the RSA Data
124 Security, Inc. MD5 Message-Digest Algorithm" in all material
125 mentioning or referencing the derived work.
127 RSA Data Security, Inc. makes no representations concerning either
128 the merchantability of this software or the suitability of this
129 software for any particular purpose. It is provided "as is"
130 without express or implied warranty of any kind.
132 These notices must be retained in any copies of any part of this
133 documentation and/or software.
134 ==========================================================================
137  * hmac.c is derived from:
139 Network Working Group                                       H. Krawczyk
140 Request for Comments: 2104                                          IBM
141 Category: Informational                                      M. Bellare
142                                                                    UCSD
143                                                              R. Canetti
144                                                                     IBM
145                                                           February 1997
148              HMAC: Keyed-Hashing for Message Authentication
150 Status of This Memo
152    This memo provides information for the Internet community.  This memo
153    does not specify an Internet standard of any kind.  Distribution of
154    this memo is unlimited.
156 Appendix -- Sample Code
157 ==========================================================================
159 Parts of nss.c are derived from the Mozilla NSS 3.9.2 source,
160 mozilla/security/nss/cmd/smimetools/cmsutil.c. Therefore:
162                           MOZILLA PUBLIC LICENSE
163                                 Version 1.1
165                               ---------------
167 1. Definitions.
169      1.0.1. "Commercial Use" means distribution or otherwise making the
170      Covered Code available to a third party.
172      1.1. "Contributor" means each entity that creates or contributes to
173      the creation of Modifications.
175      1.2. "Contributor Version" means the combination of the Original
176      Code, prior Modifications used by a Contributor, and the Modifications
177      made by that particular Contributor.
179      1.3. "Covered Code" means the Original Code or Modifications or the
180      combination of the Original Code and Modifications, in each case
181      including portions thereof.
183      1.4. "Electronic Distribution Mechanism" means a mechanism generally
184      accepted in the software development community for the electronic
185      transfer of data.
187      1.5. "Executable" means Covered Code in any form other than Source
188      Code.
190      1.6. "Initial Developer" means the individual or entity identified
191      as the Initial Developer in the Source Code notice required by Exhibit
192      A.
194      1.7. "Larger Work" means a work which combines Covered Code or
195      portions thereof with code not governed by the terms of this License.
197      1.8. "License" means this document.
199      1.8.1. "Licensable" means having the right to grant, to the maximum
200      extent possible, whether at the time of the initial grant or
201      subsequently acquired, any and all of the rights conveyed herein.
203      1.9. "Modifications" means any addition to or deletion from the
204      substance or structure of either the Original Code or any previous
205      Modifications. When Covered Code is released as a series of files, a
206      Modification is:
207           A. Any addition to or deletion from the contents of a file
208           containing Original Code or previous Modifications.
210           B. Any new file that contains any part of the Original Code or
211           previous Modifications.
213      1.10. "Original Code" means Source Code of computer software code
214      which is described in the Source Code notice required by Exhibit A as
215      Original Code, and which, at the time of its release under this
216      License is not already Covered Code governed by this License.
218      1.10.1. "Patent Claims" means any patent claim(s), now owned or
219      hereafter acquired, including without limitation,  method, process,
220      and apparatus claims, in any patent Licensable by grantor.
222      1.11. "Source Code" means the preferred form of the Covered Code for
223      making modifications to it, including all modules it contains, plus
224      any associated interface definition files, scripts used to control
225      compilation and installation of an Executable, or source code
226      differential comparisons against either the Original Code or another
227      well known, available Covered Code of the Contributor's choice. The
228      Source Code can be in a compressed or archival form, provided the
229      appropriate decompression or de-archiving software is widely available
230      for no charge.
232      1.12. "You" (or "Your")  means an individual or a legal entity
233      exercising rights under, and complying with all of the terms of, this
234      License or a future version of this License issued under Section 6.1.
235      For legal entities, "You" includes any entity which controls, is
236      controlled by, or is under common control with You. For purposes of
237      this definition, "control" means (a) the power, direct or indirect,
238      to cause the direction or management of such entity, whether by
239      contract or otherwise, or (b) ownership of more than fifty percent
240      (50%) of the outstanding shares or beneficial ownership of such
241      entity.
243 2. Source Code License.
245      2.1. The Initial Developer Grant.
246      The Initial Developer hereby grants You a world-wide, royalty-free,
247      non-exclusive license, subject to third party intellectual property
248      claims:
249           (a)  under intellectual property rights (other than patent or
250           trademark) Licensable by Initial Developer to use, reproduce,
251           modify, display, perform, sublicense and distribute the Original
252           Code (or portions thereof) with or without Modifications, and/or
253           as part of a Larger Work; and
255           (b) under Patents Claims infringed by the making, using or
256           selling of Original Code, to make, have made, use, practice,
257           sell, and offer for sale, and/or otherwise dispose of the
258           Original Code (or portions thereof).
260           (c) the licenses granted in this Section 2.1(a) and (b) are
261           effective on the date Initial Developer first distributes
262           Original Code under the terms of this License.
264           (d) Notwithstanding Section 2.1(b) above, no patent license is
265           granted: 1) for code that You delete from the Original Code; 2)
266           separate from the Original Code;  or 3) for infringements caused
267           by: i) the modification of the Original Code or ii) the
268           combination of the Original Code with other software or devices.
270      2.2. Contributor Grant.
271      Subject to third party intellectual property claims, each Contributor
272      hereby grants You a world-wide, royalty-free, non-exclusive license
274           (a)  under intellectual property rights (other than patent or
275           trademark) Licensable by Contributor, to use, reproduce, modify,
276           display, perform, sublicense and distribute the Modifications
277           created by such Contributor (or portions thereof) either on an
278           unmodified basis, with other Modifications, as Covered Code
279           and/or as part of a Larger Work; and
281           (b) under Patent Claims infringed by the making, using, or
282           selling of  Modifications made by that Contributor either alone
283           and/or in combination with its Contributor Version (or portions
284           of such combination), to make, use, sell, offer for sale, have
285           made, and/or otherwise dispose of: 1) Modifications made by that
286           Contributor (or portions thereof); and 2) the combination of
287           Modifications made by that Contributor with its Contributor
288           Version (or portions of such combination).
290           (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
291           effective on the date Contributor first makes Commercial Use of
292           the Covered Code.
294           (d)    Notwithstanding Section 2.2(b) above, no patent license is
295           granted: 1) for any code that Contributor has deleted from the
296           Contributor Version; 2)  separate from the Contributor Version;
297           3)  for infringements caused by: i) third party modifications of
298           Contributor Version or ii)  the combination of Modifications made
299           by that Contributor with other software  (except as part of the
300           Contributor Version) or other devices; or 4) under Patent Claims
301           infringed by Covered Code in the absence of Modifications made by
302           that Contributor.
304 3. Distribution Obligations.
306      3.1. Application of License.
307      The Modifications which You create or to which You contribute are
308      governed by the terms of this License, including without limitation
309      Section 2.2. The Source Code version of Covered Code may be
310      distributed only under the terms of this License or a future version
311      of this License released under Section 6.1, and You must include a
312      copy of this License with every copy of the Source Code You
313      distribute. You may not offer or impose any terms on any Source Code
314      version that alters or restricts the applicable version of this
315      License or the recipients' rights hereunder. However, You may include
316      an additional document offering the additional rights described in
317      Section 3.5.
319      3.2. Availability of Source Code.
320      Any Modification which You create or to which You contribute must be
321      made available in Source Code form under the terms of this License
322      either on the same media as an Executable version or via an accepted
323      Electronic Distribution Mechanism to anyone to whom you made an
324      Executable version available; and if made available via Electronic
325      Distribution Mechanism, must remain available for at least twelve (12)
326      months after the date it initially became available, or at least six
327      (6) months after a subsequent version of that particular Modification
328      has been made available to such recipients. You are responsible for
329      ensuring that the Source Code version remains available even if the
330      Electronic Distribution Mechanism is maintained by a third party.
332      3.3. Description of Modifications.
333      You must cause all Covered Code to which You contribute to contain a
334      file documenting the changes You made to create that Covered Code and
335      the date of any change. You must include a prominent statement that
336      the Modification is derived, directly or indirectly, from Original
337      Code provided by the Initial Developer and including the name of the
338      Initial Developer in (a) the Source Code, and (b) in any notice in an
339      Executable version or related documentation in which You describe the
340      origin or ownership of the Covered Code.
342      3.4. Intellectual Property Matters
343           (a) Third Party Claims.
344           If Contributor has knowledge that a license under a third party's
345           intellectual property rights is required to exercise the rights
346           granted by such Contributor under Sections 2.1 or 2.2,
347           Contributor must include a text file with the Source Code
348           distribution titled "LEGAL" which describes the claim and the
349           party making the claim in sufficient detail that a recipient will
350           know whom to contact. If Contributor obtains such knowledge after
351           the Modification is made available as described in Section 3.2,
352           Contributor shall promptly modify the LEGAL file in all copies
353           Contributor makes available thereafter and shall take other steps
354           (such as notifying appropriate mailing lists or newsgroups)
355           reasonably calculated to inform those who received the Covered
356           Code that new knowledge has been obtained.
358           (b) Contributor APIs.
359           If Contributor's Modifications include an application programming
360           interface and Contributor has knowledge of patent licenses which
361           are reasonably necessary to implement that API, Contributor must
362           also include this information in the LEGAL file.
364                (c)    Representations.
365           Contributor represents that, except as disclosed pursuant to
366           Section 3.4(a) above, Contributor believes that Contributor's
367           Modifications are Contributor's original creation(s) and/or
368           Contributor has sufficient rights to grant the rights conveyed by
369           this License.
371      3.5. Required Notices.
372      You must duplicate the notice in Exhibit A in each file of the Source
373      Code.  If it is not possible to put such notice in a particular Source
374      Code file due to its structure, then You must include such notice in a
375      location (such as a relevant directory) where a user would be likely
376      to look for such a notice.  If You created one or more Modification(s)
377      You may add your name as a Contributor to the notice described in
378      Exhibit A.  You must also duplicate this License in any documentation
379      for the Source Code where You describe recipients' rights or ownership
380      rights relating to Covered Code.  You may choose to offer, and to
381      charge a fee for, warranty, support, indemnity or liability
382      obligations to one or more recipients of Covered Code. However, You
383      may do so only on Your own behalf, and not on behalf of the Initial
384      Developer or any Contributor. You must make it absolutely clear than
385      any such warranty, support, indemnity or liability obligation is
386      offered by You alone, and You hereby agree to indemnify the Initial
387      Developer and every Contributor for any liability incurred by the
388      Initial Developer or such Contributor as a result of warranty,
389      support, indemnity or liability terms You offer.
391      3.6. Distribution of Executable Versions.
392      You may distribute Covered Code in Executable form only if the
393      requirements of Section 3.1-3.5 have been met for that Covered Code,
394      and if You include a notice stating that the Source Code version of
395      the Covered Code is available under the terms of this License,
396      including a description of how and where You have fulfilled the
397      obligations of Section 3.2. The notice must be conspicuously included
398      in any notice in an Executable version, related documentation or
399      collateral in which You describe recipients' rights relating to the
400      Covered Code. You may distribute the Executable version of Covered
401      Code or ownership rights under a license of Your choice, which may
402      contain terms different from this License, provided that You are in
403      compliance with the terms of this License and that the license for the
404      Executable version does not attempt to limit or alter the recipient's
405      rights in the Source Code version from the rights set forth in this
406      License. If You distribute the Executable version under a different
407      license You must make it absolutely clear that any terms which differ
408      from this License are offered by You alone, not by the Initial
409      Developer or any Contributor. You hereby agree to indemnify the
410      Initial Developer and every Contributor for any liability incurred by
411      the Initial Developer or such Contributor as a result of any such
412      terms You offer.
414      3.7. Larger Works.
415      You may create a Larger Work by combining Covered Code with other code
416      not governed by the terms of this License and distribute the Larger
417      Work as a single product. In such a case, You must make sure the
418      requirements of this License are fulfilled for the Covered Code.
420 4. Inability to Comply Due to Statute or Regulation.
422      If it is impossible for You to comply with any of the terms of this
423      License with respect to some or all of the Covered Code due to
424      statute, judicial order, or regulation then You must: (a) comply with
425      the terms of this License to the maximum extent possible; and (b)
426      describe the limitations and the code they affect. Such description
427      must be included in the LEGAL file described in Section 3.4 and must
428      be included with all distributions of the Source Code. Except to the
429      extent prohibited by statute or regulation, such description must be
430      sufficiently detailed for a recipient of ordinary skill to be able to
431      understand it.
433 5. Application of this License.
435      This License applies to code to which the Initial Developer has
436      attached the notice in Exhibit A and to related Covered Code.
438 6. Versions of the License.
440      6.1. New Versions.
441      Netscape Communications Corporation ("Netscape") may publish revised
442      and/or new versions of the License from time to time. Each version
443      will be given a distinguishing version number.
445      6.2. Effect of New Versions.
446      Once Covered Code has been published under a particular version of the
447      License, You may always continue to use it under the terms of that
448      version. You may also choose to use such Covered Code under the terms
449      of any subsequent version of the License published by Netscape. No one
450      other than Netscape has the right to modify the terms applicable to
451      Covered Code created under this License.
453      6.3. Derivative Works.
454      If You create or use a modified version of this License (which you may
455      only do in order to apply it to code which is not already Covered Code
456      governed by this License), You must (a) rename Your license so that
457      the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
458      "MPL", "NPL" or any confusingly similar phrase do not appear in your
459      license (except to note that your license differs from this License)
460      and (b) otherwise make it clear that Your version of the license
461      contains terms which differ from the Mozilla Public License and
462      Netscape Public License. (Filling in the name of the Initial
463      Developer, Original Code or Contributor in the notice described in
464      Exhibit A shall not of themselves be deemed to be modifications of
465      this License.)
467 7. DISCLAIMER OF WARRANTY.
469      COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
470      WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
471      WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
472      DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
473      THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
474      IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
475      YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
476      COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
477      OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
478      ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
480 8. TERMINATION.
482      8.1.  This License and the rights granted hereunder will terminate
483      automatically if You fail to comply with terms herein and fail to cure
484      such breach within 30 days of becoming aware of the breach. All
485      sublicenses to the Covered Code which are properly granted shall
486      survive any termination of this License. Provisions which, by their
487      nature, must remain in effect beyond the termination of this License
488      shall survive.
490      8.2.  If You initiate litigation by asserting a patent infringement
491      claim (excluding declatory judgment actions) against Initial Developer
492      or a Contributor (the Initial Developer or Contributor against whom
493      You file such action is referred to as "Participant")  alleging that:
495      (a)  such Participant's Contributor Version directly or indirectly
496      infringes any patent, then any and all rights granted by such
497      Participant to You under Sections 2.1 and/or 2.2 of this License
498      shall, upon 60 days notice from Participant terminate prospectively,
499      unless if within 60 days after receipt of notice You either: (i)
500      agree in writing to pay Participant a mutually agreeable reasonable
501      royalty for Your past and future use of Modifications made by such
502      Participant, or (ii) withdraw Your litigation claim with respect to
503      the Contributor Version against such Participant.  If within 60 days
504      of notice, a reasonable royalty and payment arrangement are not
505      mutually agreed upon in writing by the parties or the litigation claim
506      is not withdrawn, the rights granted by Participant to You under
507      Sections 2.1 and/or 2.2 automatically terminate at the expiration of
508      the 60 day notice period specified above.
510      (b)  any software, hardware, or device, other than such Participant's
511      Contributor Version, directly or indirectly infringes any patent, then
512      any rights granted to You by such Participant under Sections 2.1(b)
513      and 2.2(b) are revoked effective as of the date You first made, used,
514      sold, distributed, or had made, Modifications made by that
515      Participant.
517      8.3.  If You assert a patent infringement claim against Participant
518      alleging that such Participant's Contributor Version directly or
519      indirectly infringes any patent where such claim is resolved (such as
520      by license or settlement) prior to the initiation of patent
521      infringement litigation, then the reasonable value of the licenses
522      granted by such Participant under Sections 2.1 or 2.2 shall be taken
523      into account in determining the amount or value of any payment or
524      license.
526      8.4.  In the event of termination under Sections 8.1 or 8.2 above,
527      all end user license agreements (excluding distributors and resellers)
528      which have been validly granted by You or any distributor hereunder
529      prior to termination shall survive termination.
531 9. LIMITATION OF LIABILITY.
533      UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
534      (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
535      DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
536      OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
537      ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
538      CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
539      WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
540      COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
541      INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
542      LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
543      RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
544      PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
545      EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
546      THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
548 10. U.S. GOVERNMENT END USERS.
550      The Covered Code is a "commercial item," as that term is defined in
551      48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
552      software" and "commercial computer software documentation," as such
553      terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
554      C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
555      all U.S. Government End Users acquire Covered Code with only those
556      rights set forth herein.
558 11. MISCELLANEOUS.
560      This License represents the complete agreement concerning subject
561      matter hereof. If any provision of this License is held to be
562      unenforceable, such provision shall be reformed only to the extent
563      necessary to make it enforceable. This License shall be governed by
564      California law provisions (except to the extent applicable law, if
565      any, provides otherwise), excluding its conflict-of-law provisions.
566      With respect to disputes in which at least one party is a citizen of,
567      or an entity chartered or registered to do business in the United
568      States of America, any litigation relating to this License shall be
569      subject to the jurisdiction of the Federal Courts of the Northern
570      District of California, with venue lying in Santa Clara County,
571      California, with the losing party responsible for costs, including
572      without limitation, court costs and reasonable attorneys' fees and
573      expenses. The application of the United Nations Convention on
574      Contracts for the International Sale of Goods is expressly excluded.
575      Any law or regulation which provides that the language of a contract
576      shall be construed against the drafter shall not apply to this
577      License.
579 12. RESPONSIBILITY FOR CLAIMS.
581      As between Initial Developer and the Contributors, each party is
582      responsible for claims and damages arising, directly or indirectly,
583      out of its utilization of rights under this License and You agree to
584      work with Initial Developer and Contributors to distribute such
585      responsibility on an equitable basis. Nothing herein is intended or
586      shall be deemed to constitute any admission of liability.
588 13. MULTIPLE-LICENSED CODE.
590      Initial Developer may designate portions of the Covered Code as
591      "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
592      Developer permits you to utilize portions of the Covered Code under
593      Your choice of the NPL or the alternative licenses, if any, specified
594      by the Initial Developer in the file described in Exhibit A.
596 EXHIBIT A -Mozilla Public License.
598      ``The contents of this file are subject to the Mozilla Public License
599      Version 1.1 (the "License"); you may not use this file except in
600      compliance with the License. You may obtain a copy of the License at
601      http://www.mozilla.org/MPL/
603      Software distributed under the License is distributed on an "AS IS"
604      basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
605      License for the specific language governing rights and limitations
606      under the License.
608      The Original Code is ______________________________________.
610      The Initial Developer of the Original Code is ________________________.
611      Portions created by ______________________ are Copyright (C) ______
612      _______________________. All Rights Reserved.
614      Contributor(s): ______________________________________.
616      Alternatively, the contents of this file may be used under the terms
617      of the _____ license (the  "[___] License"), in which case the
618      provisions of [______] License are applicable instead of those
619      above.  If you wish to allow use of your version of this file only
620      under the terms of the [____] License and not to allow others to use
621      your version of this file under the MPL, indicate your decision by
622      deleting  the provisions above and replace  them with the notice and
623      other provisions required by the [___] License.  If you do not delete
624      the provisions above, a recipient may use your version of this file
625      under either the MPL or the [___] License."
627      [NOTE: The text of this Exhibit A may differ slightly from the text of
628      the notices in the Source Code files of the Original Code. You should
629      use the text of this Exhibit A rather than the text found in the
630      Original Code Source Code for Your Modifications.]