Skip to content

Commit

Permalink
add copy right text
Browse files Browse the repository at this point in the history
  • Loading branch information
glmfe committed Jan 29, 2025
1 parent 5330c90 commit 214a74a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
/*
TODO
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* ESP libwebsockets client example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/

#include <libwebsockets.h>
#include <stdio.h>
Expand Down Expand Up @@ -115,7 +125,7 @@ static int callback_minimal_echo(struct lws *wsi, enum lws_callback_reasons reas

static const struct lws_protocols protocols[] = {
{
"lws-ping-test",
"lws-echo",
callback_minimal_echo,
4096, 4096, 0, NULL, 0
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
/*
TODO
* SPDX-FileCopyrightText: 2022-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* ESP libwebsockets server example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/


#include <libwebsockets.h>
#include <stdio.h>
Expand Down
5 changes: 4 additions & 1 deletion components/libwebsockets/port/lws_port.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
TODO
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/

#include "stdio.h"
#include <libwebsockets.h>

Expand Down

0 comments on commit 214a74a

Please sign in to comment.