diff --git a/src/lib/libubus-cpp/src/ubus-sync.c b/src/lib/libubus-cpp/src/ubus-sync.c index b88c2465..c5a82424 100644 --- a/src/lib/libubus-cpp/src/ubus-sync.c +++ b/src/lib/libubus-cpp/src/ubus-sync.c @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2018 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 09/02/2018 */ diff --git a/src/lib/libubus-cpp/src/ubus-sync.h b/src/lib/libubus-cpp/src/ubus-sync.h index 84a48ee9..e6cd9a7f 100644 --- a/src/lib/libubus-cpp/src/ubus-sync.h +++ b/src/lib/libubus-cpp/src/ubus-sync.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2018 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 09/02/2018 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.cpp index 0e1c358a..8b0cb590 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 30/06/2017 */ @@ -24,50 +36,45 @@ extern "C" { #include "http-header.h" - -const char * const g_http_versions[] = { +const char *const g_http_versions[] = { [UH_HTTP_VER_0_9] = "HTTP/0.9", [UH_HTTP_VER_1_0] = "HTTP/1.0", [UH_HTTP_VER_1_1] = "HTTP/1.1", }; +/*! ---------------------------------------------------------------------------- + * @fn HttpHeader + * + * @brief constructor of the http header. + */ +HttpHeader::HttpHeader(void) : m_origin("*"), + m_timeout(0) +{ +} /*! ---------------------------------------------------------------------------- * @fn HttpHeader * * @brief constructor of the http header. */ -HttpHeader::HttpHeader (void) : - m_origin("*"), - m_timeout(0) +HttpHeader::HttpHeader(uint16_t a_timeout) : m_origin("*"), + m_timeout(a_timeout) { } - -/*! ---------------------------------------------------------------------------- - * @fn HttpHeader - * - * @brief constructor of the http header. - */ -HttpHeader::HttpHeader (uint16_t a_timeout) : - m_origin("*"), - m_timeout(a_timeout) -{ -} - - /*! ---------------------------------------------------------------------------- * @fn send * * @brief send an http header response. */ -void HttpHeader::send (uhttpd_ops *an_ops, client *a_client, uint16_t a_code, bool a_chunked) +void HttpHeader::send(uhttpd_ops *an_ops, client *a_client, uint16_t a_code, bool a_chunked) { prepare_header(a_client, a_code, HttpReason::get(a_code)); ustream_printf(a_client->us, "Access-Control-Allow-Origin: %s\r\n", m_origin.c_str()); - if (!m_etag.empty()) { - + if (!m_etag.empty()) + { + ustream_printf(a_client->us, "ETag: %s\r\n", m_etag.c_str()); } @@ -77,62 +84,58 @@ void HttpHeader::send (uhttpd_ops *an_ops, client *a_client, uint16_t a_code, bo ustream_printf(a_client->us, "\r\n"); } - /*! ---------------------------------------------------------------------------- * @fn send_option * * @brief send an http header option response. */ -void HttpHeader::send_option (uhttpd_ops *an_ops, client *a_client, uint16_t a_code) +void HttpHeader::send_option(uhttpd_ops *an_ops, client *a_client, uint16_t a_code) { prepare_header(a_client, a_code, HttpReason::get(a_code)); ustream_printf(a_client->us, "Access-Control-Allow-Headers: Accept, Content-Type, If-None-Match, Prefer\r\n"); ustream_printf(a_client->us, "Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS\r\n"); ustream_printf(a_client->us, "Access-Control-Allow-Origin: %s\r\n", m_origin.c_str()); + ustream_printf(a_client->us, "Content-Length: 0\r\n\r\n"); an_ops->request_done(a_client); } - /*! ---------------------------------------------------------------------------- * @fn add_origin * * @brief add an etag to the header request. */ -void HttpHeader::add_origin (const std::string &an_origin) +void HttpHeader::add_origin(const std::string &an_origin) { m_origin = an_origin; } - /*! ---------------------------------------------------------------------------- * @fn add_etag * * @brief add an etag to the header request. */ -void HttpHeader::add_etag (const std::string &an_etag) +void HttpHeader::add_etag(const std::string &an_etag) { m_etag = an_etag; } - /*! ---------------------------------------------------------------------------- * @fn add_timeout * * @brief change the time out of the header request. */ -void HttpHeader::add_timeout (uint16_t a_timeout) +void HttpHeader::add_timeout(uint16_t a_timeout) { m_timeout = a_timeout; } - /*! ---------------------------------------------------------------------------- * @fn use_chunked * * @brief return true if the connection could use a chunked response. */ -bool HttpHeader::use_chunked (struct client *a_client) +bool HttpHeader::use_chunked(struct client *a_client) { if (a_client->request.version != UH_HTTP_VER_1_1) return false; @@ -147,13 +150,12 @@ bool HttpHeader::use_chunked (struct client *a_client) return !a_client->request.disable_chunked; } - /*! ---------------------------------------------------------------------------- * @fn prepare_header * * @brief prepare and fill the first part of the http header. */ -void HttpHeader::prepare_header (struct client *a_client, int a_code, const std::string &a_summary) +void HttpHeader::prepare_header(struct client *a_client, int a_code, const std::string &a_summary) { struct http_request *the_req = &a_client->request; const char *the_enc = "Transfer-Encoding: chunked\r\n"; @@ -170,8 +172,8 @@ void HttpHeader::prepare_header (struct client *a_client, int a_code, const std: the_conn = "Connection: Keep-Alive"; ustream_printf(a_client->us, "%s %03i %s\r\n%s\r\n%s", - g_http_versions[a_client->request.version], - a_code, a_summary.c_str(), the_conn, the_enc); + g_http_versions[a_client->request.version], + a_code, a_summary.c_str(), the_conn, the_enc); if (!the_req->connection_close) ustream_printf(a_client->us, "Keep-Alive: timeout=%d\r\n", m_timeout); diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.h b/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.h index cd4f9345..01d82043 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-header.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 30/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.cpp index 7b356089..b82ab75e 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 30/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.h b/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.h index 3849ccea..d35e230c 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-parameter.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 30/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.cpp index 0ea6f95e..b47bac7f 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 22/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.h b/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.h index 1f1b5d0e..480aa6ff 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/http-reason.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 22/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.cpp index fe8c582e..400b5ca2 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 07/07/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.h b/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.h index 14ab15e0..72cbb854 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/ubus-reason.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 07/07/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.cpp index 767fcb11..40c2478c 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 22/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.h b/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.h index e59525ae..5556169e 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/uri-transform.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 22/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.cpp index c151df28..18b20aa6 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.h b/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.h index 64dc50f3..ec04aee9 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/web-connection.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.cpp b/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.cpp index e96fa7fe..0a398c3e 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.h b/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.h index 9c2e7fc9..53710ca0 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/core/web-controller.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.cpp b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.cpp index 9d5d61d1..8996275a 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 28/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.h b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.h index 59b33eac..07ef87d0 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-connection.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 28/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.cpp b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.cpp index 7a6633b0..d9b9729a 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 28/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.h b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.h index 9d6c46a1..be790a82 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/etag-rest/etag-rest-controller.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 28/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.cpp b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.cpp index cd9a0237..97316703 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.h b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.h index 000fc675..4cbbb5bb 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-connection.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.cpp b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.cpp index 230b5f9d..f539cacc 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 23/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.h b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.h index 5d14f843..22978180 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/notification/notification-controller.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 22/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/plugin.c b/src/plugins/uhttpd/uhttpd-rest-api/plugin.c index cfafa6ea..72207399 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/plugin.c +++ b/src/plugins/uhttpd/uhttpd-rest-api/plugin.c @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @date: 15/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.cpp b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.cpp index d57fbd9b..833389a2 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 20/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.h b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.h index 72c67713..ee9991c7 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-connection.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 20/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.cpp b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.cpp index bfcbb977..530e8e1e 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 19/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.h b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.h index 5dd8f492..efa7a180 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/rest/rest-controller.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 19/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.cpp b/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.cpp index b8dc67db..3eabe33a 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.cpp +++ b/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.cpp @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 16/06/2017 */ diff --git a/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.h b/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.h index 310fcfa3..87fbb443 100644 --- a/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.h +++ b/src/plugins/uhttpd/uhttpd-rest-api/uhttp-server.h @@ -1,10 +1,22 @@ /*! - * (C) Copyright 2003-2017 Awox SA. All rights reserved. - * This work contains confidential trade secrets of Awox. - * Use, examination, copying, transfer and disclosure to others - * are prohibited, except with the express written agreement of Awox. + * Copyright (c) 2015-2018, NADAL Jean-Baptiste. All rights reserved. * - * @Author: Awox + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + * MA 02110-1301 USA + * + * @Author: NADAL Jean-Baptiste * @Date: 16/06/2017 */