1 This license applies to all parts of Protocol Buffers except the following: 2 3 - Atomicops support for generic gcc, located in 4 src/google/protobuf/stubs/atomicops_internals_generic_gcc.h. 5 This file is copyrighted by Red Hat Inc. 6 7 - Atomicops support for AIX/POWER, located in 8 src/google/protobuf/stubs/atomicops_internals_power.h. 9 This file is copyrighted by Bloomberg Finance LP. 10 11 Copyright 2014, Google Inc. All rights reserved. 12 13 Redistribution and use in source and binary forms, with or without 14 modification, are permitted provided that the following conditions are 15 met: 16 17 * Redistributions of source code must retain the above copyright 18 notice, this list of conditions and the following disclaimer. 19 * Redistributions in binary form must reproduce the above 20 copyright notice, this list of conditions and the following disclaimer 21 in the documentation and/or other materials provided with the 22 distribution. 23 * Neither the name of Google Inc. nor the names of its 24 contributors may be used to endorse or promote products derived from 25 this software without specific prior written permission. 26 27 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 28 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 29 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 30 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 31 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 32 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 33 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 34 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 35 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 36 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 37 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 38 39 Code generated by the Protocol Buffer compiler is owned by the owner 40 of the input file used when generating it. This code is not 41 standalone and requires a support library to be linked with it. This 42 support library is itself covered by the above license. 43