Skip to content

Commit

Permalink
add license information to borrowed code
Browse files Browse the repository at this point in the history
Change-Id: Ic6d4b1fed1f7da10995d8d51e7d9894c087cfeff
Closes-Bug: #1762831
  • Loading branch information
tikitavi committed Apr 16, 2018
1 parent b845672 commit c6f4180
Show file tree
Hide file tree
Showing 17 changed files with 53 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compiler/generate/t_doc_generator.cc
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include <string>
Expand Down
3 changes: 3 additions & 0 deletions compiler/generate/t_html_generator.cc
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include <string>
Expand Down
3 changes: 3 additions & 0 deletions compiler/generate/t_py_generator.cc
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include <string>
Expand Down
3 changes: 3 additions & 0 deletions compiler/globals.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef T_GLOBALS_H
Expand Down
3 changes: 3 additions & 0 deletions compiler/main.cc
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

/**
Expand Down
3 changes: 3 additions & 0 deletions compiler/parse/t_base_type.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef T_BASE_TYPE_H
Expand Down
3 changes: 3 additions & 0 deletions compiler/parse/t_sandesh.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef T_SANDESH_H
Expand Down
3 changes: 3 additions & 0 deletions compiler/parse/t_scope.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef T_SCOPE_H
Expand Down
3 changes: 3 additions & 0 deletions compiler/parse/t_type.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef T_TYPE_H
Expand Down
3 changes: 3 additions & 0 deletions library/c/protocol/thrift_binary_protocol.c
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include "sandesh.h"
Expand Down
3 changes: 3 additions & 0 deletions library/c/protocol/thrift_binary_protocol.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef _THRIFT_BINARY_PROTOCOL_H
Expand Down
3 changes: 3 additions & 0 deletions library/c/protocol/thrift_protocol.c
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include "sandesh.h"
Expand Down
3 changes: 3 additions & 0 deletions library/c/protocol/thrift_protocol.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef _THRIFT_PROTOCOL_H
Expand Down
3 changes: 3 additions & 0 deletions library/c/thrift.h
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef _THRIFT_H
Expand Down
3 changes: 3 additions & 0 deletions library/c/transport/thrift_memory_buffer.c
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#include "sandesh.h"
Expand Down
3 changes: 3 additions & 0 deletions library/cpp/protocol/TBinaryProtocol.tcc
Expand Up @@ -15,6 +15,9 @@
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*
* Copyright 2006-2017 The Apache Software Foundation.
* https://github.com/apache/thrift
*/

#ifndef _SANDESH_PROTOCOL_TBINARYPROTOCOL_TCC_
Expand Down
5 changes: 5 additions & 0 deletions library/cpp/test/sandesh_http_test.cc
Expand Up @@ -137,6 +137,11 @@ namespace {

using namespace std;

/*
* License: Curl
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* https://curl.haxx.se/libcurl/c/getinmemory.html
*/
struct MemoryStruct {
char *memory;
size_t size;
Expand Down

0 comments on commit c6f4180

Please sign in to comment.