summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:09:57 +0000
committerfrsyuki <frsyuki@5a5092ae-2292-43ba-b2d5-dcab9c1a2731>2009-02-15 09:09:57 +0000
commita721837ed0c1b9783deb72a09d51dfad79411262 (patch)
treec5baa0b6384c036b45aae78062026bfc0c7b8f80 /cpp
parentb5f13e7d26e88f4c12675a14b62dda3cd3bc9598 (diff)
downloadmsgpack-python-a721837ed0c1b9783deb72a09d51dfad79411262.tar.gz
lang/c/msgpack: added license notifications
git-svn-id: file:///Users/frsyuki/project/msgpack-git/svn/x@60 5a5092ae-2292-43ba-b2d5-dcab9c1a2731
Diffstat (limited to 'cpp')
-rw-r--r--cpp/AUTHORS1
-rw-r--r--cpp/COPYING14
-rw-r--r--cpp/Makefile.am7
-rw-r--r--cpp/README21
-rw-r--r--cpp/configure.in2
-rw-r--r--cpp/msgpack.hpp21
-rw-r--r--cpp/object.cpp17
-rw-r--r--cpp/object.hpp17
-rw-r--r--cpp/pack.hpp17
-rw-r--r--cpp/test.cpp5
-rw-r--r--cpp/unpack.cpp17
-rw-r--r--cpp/unpack.hpp17
-rw-r--r--cpp/unpack_context.hpp17
-rw-r--r--cpp/unpack_inline.cpp17
-rw-r--r--cpp/zone.cpp17
-rw-r--r--cpp/zone.hpp.erb17
16 files changed, 220 insertions, 4 deletions
diff --git a/cpp/AUTHORS b/cpp/AUTHORS
index e69de29..ababacb 100644
--- a/cpp/AUTHORS
+++ b/cpp/AUTHORS
@@ -0,0 +1 @@
+FURUHASHI Sadayuki <frsyuki _at_ users.sourceforge.jp>
diff --git a/cpp/COPYING b/cpp/COPYING
new file mode 100644
index 0000000..5f100cd
--- /dev/null
+++ b/cpp/COPYING
@@ -0,0 +1,14 @@
+Copyright (C) 2008 FURUHASHI Sadayuki
+
+ Licensed 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.
+
diff --git a/cpp/Makefile.am b/cpp/Makefile.am
index 664f1ed..b9ecb1d 100644
--- a/cpp/Makefile.am
+++ b/cpp/Makefile.am
@@ -7,6 +7,7 @@ libmsgpack_la_SOURCES = \
zone.cpp
nobase_include_HEADERS = \
+ msgpack.hpp \
msgpack/pack.hpp \
msgpack/unpack.hpp \
msgpack/object.hpp \
@@ -15,6 +16,10 @@ nobase_include_HEADERS = \
noinst_HEADERS = \
unpack_context.hpp
-zone.hpp: zone.hpp.erb
+msgpack/zone.hpp: msgpack/zone.hpp.erb
erb $< > $@
+MOSTLYCLEANFILES = zone.hpp
+
+libmsgpack_la_LDFLAGS = -version-info 0:0:0
+
diff --git a/cpp/README b/cpp/README
index e69de29..eceff1b 100644
--- a/cpp/README
+++ b/cpp/README
@@ -0,0 +1,21 @@
+MessagePack for C++
+-------------------
+MessagePack is a binary-based efficient data interchange format.
+
+
+
+Copyright (C) 2008 FURUHASHI Sadayuki
+
+ Licensed 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.
+
+
diff --git a/cpp/configure.in b/cpp/configure.in
index a94738a..e9e21ea 100644
--- a/cpp/configure.in
+++ b/cpp/configure.in
@@ -1,5 +1,5 @@
AC_INIT(object.hpp)
-AM_INIT_AUTOMAKE(msgpack, 0.1)
+AM_INIT_AUTOMAKE(msgpack, 0.1.0)
AC_CONFIG_HEADER(config.h)
AC_PROG_CXX
diff --git a/cpp/msgpack.hpp b/cpp/msgpack.hpp
new file mode 100644
index 0000000..9f635d0
--- /dev/null
+++ b/cpp/msgpack.hpp
@@ -0,0 +1,21 @@
+//
+// MessagePack for C++
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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 "msgpack/object.hpp"
+#include "msgpack/zone.hpp"
+#include "msgpack/pack.hpp"
+#include "msgpack/unpack.hpp"
diff --git a/cpp/object.cpp b/cpp/object.cpp
index 947e8dd..d6815ac 100644
--- a/cpp/object.cpp
+++ b/cpp/object.cpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ dynamic typed objects
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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 "msgpack/object.hpp"
#include "msgpack/pack.hpp"
diff --git a/cpp/object.hpp b/cpp/object.hpp
index f029e32..b1f5369 100644
--- a/cpp/object.hpp
+++ b/cpp/object.hpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ dynamic typed objects
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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.
+//
#ifndef MSGPACK_OBJECT_HPP__
#define MSGPACK_OBJECT_HPP__
diff --git a/cpp/pack.hpp b/cpp/pack.hpp
index 89f8cee..ac7bb83 100644
--- a/cpp/pack.hpp
+++ b/cpp/pack.hpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ serializing routine
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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.
+//
#ifndef MSGPACK_PACK_HPP__
#define MSGPACK_PACK_HPP__
diff --git a/cpp/test.cpp b/cpp/test.cpp
index e236d0f..7c91fbd 100644
--- a/cpp/test.cpp
+++ b/cpp/test.cpp
@@ -1,7 +1,8 @@
#include <iostream>
#include <string>
-#include <msgpack/unpack.hpp>
-#include <msgpack/pack.hpp>
+//#include <msgpack/unpack.hpp>
+//#include <msgpack/pack.hpp>
+#include <msgpack.hpp>
#include <sstream>
#include <boost/scoped_ptr.hpp>
diff --git a/cpp/unpack.cpp b/cpp/unpack.cpp
index 6a6a4e8..a0128bb 100644
--- a/cpp/unpack.cpp
+++ b/cpp/unpack.cpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ deserializing routine
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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 "msgpack/unpack.hpp"
#include "unpack_context.hpp"
#include <stdlib.h>
diff --git a/cpp/unpack.hpp b/cpp/unpack.hpp
index 9bda544..452a231 100644
--- a/cpp/unpack.hpp
+++ b/cpp/unpack.hpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ deserializing routine
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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.
+//
#ifndef MSGPACK_UNPACK_HPP__
#define MSGPACK_UNPACK_HPP__
diff --git a/cpp/unpack_context.hpp b/cpp/unpack_context.hpp
index 49a93e4..59bd872 100644
--- a/cpp/unpack_context.hpp
+++ b/cpp/unpack_context.hpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ deserializing routine
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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.
+//
#ifndef UNPACK_CONTEXT_HPP__
#define UNPACK_CONTEXT_HPP__
diff --git a/cpp/unpack_inline.cpp b/cpp/unpack_inline.cpp
index 9002327..37e0b66 100644
--- a/cpp/unpack_inline.cpp
+++ b/cpp/unpack_inline.cpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ deserializing routine
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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 "unpack_context.hpp"
diff --git a/cpp/zone.cpp b/cpp/zone.cpp
index ea4c7e4..22be759 100644
--- a/cpp/zone.cpp
+++ b/cpp/zone.cpp
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ memory pool
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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 "zone.hpp"
namespace msgpack {
diff --git a/cpp/zone.hpp.erb b/cpp/zone.hpp.erb
index 5c0e0d8..ac08595 100644
--- a/cpp/zone.hpp.erb
+++ b/cpp/zone.hpp.erb
@@ -1,3 +1,20 @@
+//
+// MessagePack for C++ memory pool
+//
+// Copyright (C) 2008 FURUHASHI Sadayuki
+//
+// Licensed 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.
+//
#ifndef MSGPACK_ZONE_HPP__
#define MSGPACK_ZONE_HPP__
#include <iostream>