Author: sayer Date: 2010-05-19 11:33:50 +0200 (Wed, 19 May 2010) New Revision: 1922
Modified: trunk/core/jsonArg.h trunk/core/jsonxx.cpp trunk/core/jsonxx.h Log: added copyright notice for jsonxx Modified: trunk/core/jsonArg.h =================================================================== --- trunk/core/jsonArg.h 2010-05-19 09:22:41 UTC (rev 1921) +++ trunk/core/jsonArg.h 2010-05-19 09:33:50 UTC (rev 1922) @@ -31,7 +31,13 @@ #include <iostream> string arg2json(const AmArg &a); + +/** @return true on success */ bool json2arg(std::istream& input, AmArg& res); + +/** @return true on success */ bool json2arg(const char* input, AmArg& res); + +/** @return true on success */ bool json2arg(const std::string& input, AmArg& res); #endif Modified: trunk/core/jsonxx.cpp =================================================================== --- trunk/core/jsonxx.cpp 2010-05-19 09:22:41 UTC (rev 1921) +++ trunk/core/jsonxx.cpp 2010-05-19 09:33:50 UTC (rev 1922) @@ -1,5 +1,32 @@ // Author: Hong Jiang <[email protected]> +/* +source: http://github.com/hjiang/jsonxx/ +Copyright (c) 2010 Hong Jiang + +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 "jsonxx.h" #include <cctype> Modified: trunk/core/jsonxx.h =================================================================== --- trunk/core/jsonxx.h 2010-05-19 09:22:41 UTC (rev 1921) +++ trunk/core/jsonxx.h 2010-05-19 09:33:50 UTC (rev 1922) @@ -1,5 +1,32 @@ // Author: Hong Jiang <[email protected]> +/* +source: http://github.com/hjiang/jsonxx/ +Copyright (c) 2010 Hong Jiang + +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 <cassert> #include <iostream> #include <map> _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
