diff options
author | David Reiss <dreiss@apache.org> | 2009-03-30 21:35:00 +0000 |
---|---|---|
committer | David Reiss <dreiss@apache.org> | 2009-03-30 21:35:00 +0000 |
commit | ea2cba8ba8484a8d4e669c02dd97b3b2445ef322 (patch) | |
tree | 6be4a3bf2d069a006c9a15f5ee47a1893a176f4d /tutorial/cpp | |
parent | 4bc4231040186d9e0c35ff4d8211ce7b7e43aab5 (diff) | |
download | thrift-ea2cba8ba8484a8d4e669c02dd97b3b2445ef322.tar.gz |
THRIFT-387. Add license headers to a bunch of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tutorial/cpp')
-rw-r--r-- | tutorial/cpp/CppClient.cpp | 19 | ||||
-rw-r--r-- | tutorial/cpp/CppServer.cpp | 19 | ||||
-rw-r--r-- | tutorial/cpp/Makefile | 19 |
3 files changed, 57 insertions, 0 deletions
diff --git a/tutorial/cpp/CppClient.cpp b/tutorial/cpp/CppClient.cpp index da77c7d5a..a3f17feec 100644 --- a/tutorial/cpp/CppClient.cpp +++ b/tutorial/cpp/CppClient.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include <stdio.h> #include <unistd.h> #include <sys/time.h> diff --git a/tutorial/cpp/CppServer.cpp b/tutorial/cpp/CppServer.cpp index 044e1d99e..23c2b8339 100644 --- a/tutorial/cpp/CppServer.cpp +++ b/tutorial/cpp/CppServer.cpp @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + #include <concurrency/ThreadManager.h> #include <concurrency/PosixThreadFactory.h> #include <protocol/TBinaryProtocol.h> diff --git a/tutorial/cpp/Makefile b/tutorial/cpp/Makefile index 35a21d8a5..e834dee23 100644 --- a/tutorial/cpp/Makefile +++ b/tutorial/cpp/Makefile @@ -1,3 +1,22 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + BOOST_DIR = /usr/local/boost/include/boost-1_33_1/ THRIFT_DIR = /usr/local/include/thrift LIB_DIR = /usr/local/lib |