diff --git a/libretro-db/Makefile b/libretro-db/Makefile index eedca1dc54..cb6412f5ea 100644 --- a/libretro-db/Makefile +++ b/libretro-db/Makefile @@ -1,4 +1,5 @@ DEBUG = 0 +LIBRETRODB_DIR := . LIBRETRO_COMMON_DIR := ../libretro-common INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include @@ -14,12 +15,12 @@ LIBRETRO_COMMON_C = \ $(LIBRETRO_COMMON_DIR)/streams/file_stream.c C_CONVERTER_C = \ - rmsgpack.c \ - rmsgpack_dom.c \ - libretrodb.c \ - bintree.c \ - query.c \ - c_converter.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_dom.c \ + $(LIBRETRODB_DIR)/libretrodb.c \ + $(LIBRETRODB_DIR)/bintree.c \ + $(LIBRETRODB_DIR)/query.c \ + $(LIBRETRODB_DIR)/c_converter.c \ $(LIBRETRO_COMMON_DIR)/hash/rhash.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ $(LIBRETRO_COMMON_C) \ @@ -28,12 +29,12 @@ C_CONVERTER_C = \ C_CONVERTER_OBJS := $(C_CONVERTER_C:.c=.o) RARCHDB_TOOL_C = \ - rmsgpack.c \ - rmsgpack_dom.c \ - libretrodb_tool.c \ - bintree.c \ - query.c \ - libretrodb.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_dom.c \ + $(LIBRETRODB_DIR)/libretrodb_tool.c \ + $(LIBRETRODB_DIR)/bintree.c \ + $(LIBRETRODB_DIR)/query.c \ + $(LIBRETRODB_DIR)/libretrodb.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ $(LIBRETRO_COMMON_C) \ $(LIBRETRO_COMMON_DIR)/compat/compat_strl.c @@ -41,8 +42,8 @@ RARCHDB_TOOL_C = \ RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o) RMSGPACK_C = \ - rmsgpack.c \ - rmsgpack_test.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_test.c \ $(LIBRETRO_COMMON_C) RMSGPACK_OBJS := $(RMSGPACK_C:.c=.o) diff --git a/libretro-db/bintree.c b/libretro-db/bintree.c index 7df1889a78..c4a26494bf 100644 --- a/libretro-db/bintree.c +++ b/libretro-db/bintree.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (bintree.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include #include #include diff --git a/libretro-db/bintree.h b/libretro-db/bintree.h index 723dc777cc..8bf0e197fc 100644 --- a/libretro-db/bintree.h +++ b/libretro-db/bintree.h @@ -1,5 +1,27 @@ -#ifndef __RARCHDB_BINTREE_H__ -#define __RARCHDB_BINTREE_H__ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (bintree.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __LIBRETRODB_BINTREE_H__ +#define __LIBRETRODB_BINTREE_H__ #ifdef __cplusplus extern "C" { diff --git a/libretro-db/c_converter.c b/libretro-db/c_converter.c index f660d11463..37405495bf 100644 --- a/libretro-db/c_converter.c +++ b/libretro-db/c_converter.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (c_converter.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include #include #include diff --git a/libretro-db/libretrodb.c b/libretro-db/libretrodb.c index 554242efd5..0d6f1511f8 100644 --- a/libretro-db/libretrodb.c +++ b/libretro-db/libretrodb.c @@ -1,3 +1,24 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (libretrodb.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ #include #include diff --git a/libretro-db/libretrodb.h b/libretro-db/libretrodb.h index 9526116bb0..173014ae58 100644 --- a/libretro-db/libretrodb.h +++ b/libretro-db/libretrodb.h @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (libretrodb.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #ifndef __LIBRETRODB_H__ #define __LIBRETRODB_H__ diff --git a/libretro-db/libretrodb_tool.c b/libretro-db/libretrodb_tool.c index e1bcde996f..b8c8f25c34 100644 --- a/libretro-db/libretrodb_tool.c +++ b/libretro-db/libretrodb_tool.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (libretrodb_tool.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include #include diff --git a/libretro-db/Makefile.lua b/libretro-db/lua/Makefile similarity index 58% rename from libretro-db/Makefile.lua rename to libretro-db/lua/Makefile index 40c6785a62..5f7bb7e33b 100644 --- a/libretro-db/Makefile.lua +++ b/libretro-db/lua/Makefile @@ -1,6 +1,7 @@ DEBUG = 0 -LIBRETRO_COMMON_DIR := ../libretro-common -INCFLAGS = -I. -I$(LIBRETRO_COMMON_DIR)/include +LIBRETRODB_DIR := ../ +LIBRETRO_COMMON_DIR := ../../libretro-common +INCFLAGS = -I. -I$(LIBRETRODB_DIR) -I$(LIBRETRO_COMMON_DIR)/include TARGETS = rmsgpack_test libretrodb_tool lua_converter @@ -11,49 +12,49 @@ CFLAGS = -g -O2 -Wall -DNDEBUG endif LUA_CONVERTER_C = \ - rmsgpack.c \ - rmsgpack_dom.c \ - lua/lua_common.c \ - libretrodb.c \ - bintree.c \ - query.c \ - lua/lua_converter.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_dom.c \ + lua_common.c \ + $(LIBRETRODB_DIR)/libretrodb.c \ + $(LIBRETRODB_DIR)/bintree.c \ + $(LIBRETRODB_DIR)/query.c \ + lua_converter.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ - $(LIBRETRO_COMMON_DIR)/file/retro_file.c \ + $(LIBRETRO_COMMON_DIR)/streams/file_stream.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_strl.c LUA_CONVERTER_OBJS := $(LUA_CONVERTER_C:.c=.o) RARCHDB_TOOL_C = \ - rmsgpack.c \ - rmsgpack_dom.c \ - libretrodb_tool.c \ - bintree.c \ - query.c \ - libretrodb.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_dom.c \ + $(LIBRETRODB_DIR)/libretrodb_tool.c \ + $(LIBRETRODB_DIR)/bintree.c \ + $(LIBRETRODB_DIR)/query.c \ + ($LIBRETRODB_DIR)/libretrodb.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ - $(LIBRETRO_COMMON_DIR)/file/retro_file.c \ + $(LIBRETRO_COMMON_DIR)/streams/file_stream.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_strl.c RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o) TESTLIB_C = \ - lua/testlib.c \ - query.c \ - libretrodb.c \ - bintree.c \ - rmsgpack.c \ - rmsgpack_dom.c \ + testlib.c \ + $(LIBRETRODB_DIR)/query.c \ + ($LIBRETRODB_DIR)/libretrodb.c \ + $(LIBRETRODB_DIR)/bintree.c \ + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_dom.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ - $(LIBRETRO_COMMON_DIR)/file/retro_file.c \ + $(LIBRETRO_COMMON_DIR)/streams/file_stream.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_strl.c TESTLIB_OBJS := $(TESTLIB_C:.c=.o) RMSGPACK_C = \ - rmsgpack.c \ - rmsgpack_test.c \ - $(LIBRETRO_COMMON_DIR)/file/retro_file.c + $(LIBRETRODB_DIR)/rmsgpack.c \ + $(LIBRETRODB_DIR)/rmsgpack_test.c \ + $(LIBRETRO_COMMON_DIR)/streams/file_stream.c RMSGPACK_OBJS := $(RMSGPACK_C:.c=.o) diff --git a/libretro-db/query.c b/libretro-db/query.c index 85c8e33b98..7fe043be17 100644 --- a/libretro-db/query.c +++ b/libretro-db/query.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (query.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #ifdef _WIN32 #include #else diff --git a/libretro-db/query.h b/libretro-db/query.h index bb6fce9525..5af3d38626 100644 --- a/libretro-db/query.h +++ b/libretro-db/query.h @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (query.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #ifndef __LIBRETRODB_QUERY_H__ #define __LIBRETRODB_QUERY_H__ diff --git a/libretro-db/rmsgpack.c b/libretro-db/rmsgpack.c index 86cdefd90d..f608f9b712 100644 --- a/libretro-db/rmsgpack.c +++ b/libretro-db/rmsgpack.c @@ -1,15 +1,25 @@ -/* - * An almost complete implementation of msgpack by - * Saggi Mizrahi +/* Copyright (C) 2010-2016 The RetroArch team * - * TODO: - * - float types - * - ext types + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (rmsgpack.c). + * --------------------------------------------------------------------------------------- * - * For more information http://msgpack.org/ + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ - #include #ifdef _WIN32 #include diff --git a/libretro-db/rmsgpack.h b/libretro-db/rmsgpack.h index 263f061842..2cb803fe1a 100644 --- a/libretro-db/rmsgpack.h +++ b/libretro-db/rmsgpack.h @@ -1,5 +1,27 @@ -#ifndef __RARCHDB_MSGPACK_H__ -#define __RARCHDB_MSGPACK_H__ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (rmsgpack.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __LIBRETRODB_MSGPACK_H__ +#define __LIBRETRODB_MSGPACK_H__ #include diff --git a/libretro-db/rmsgpack_dom.c b/libretro-db/rmsgpack_dom.c index 534f79bb58..4772212730 100644 --- a/libretro-db/rmsgpack_dom.c +++ b/libretro-db/rmsgpack_dom.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (rmsgpack_dom.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include "rmsgpack_dom.h" #include diff --git a/libretro-db/rmsgpack_dom.h b/libretro-db/rmsgpack_dom.h index fc595d99d1..1b3337f563 100644 --- a/libretro-db/rmsgpack_dom.h +++ b/libretro-db/rmsgpack_dom.h @@ -1,5 +1,27 @@ -#ifndef __RARCHDB_MSGPACK_DOM_H__ -#define __RARCHDB_MSGPACK_DOM_H__ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (rmsgpack_dom.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __LIBRETRODB_MSGPACK_DOM_H__ +#define __LIBRETRODB_MSGPACK_DOM_H__ #include diff --git a/libretro-db/rmsgpack_test.c b/libretro-db/rmsgpack_test.c index b0be32f2fb..aad5bd97ed 100644 --- a/libretro-db/rmsgpack_test.c +++ b/libretro-db/rmsgpack_test.c @@ -1,3 +1,25 @@ +/* Copyright (C) 2010-2016 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (rmsgpack_test.c). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + #include #include #include