1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

all: move description of C files below the copyright and license

This commit is contained in:
Sébastien Helleu
2025-03-30 21:16:11 +02:00
parent 3a6ac9ee76
commit 2475f20cb7
345 changed files with 690 additions and 690 deletions
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-api-msg.c - build JSON messages for "api" protocol
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Build JSON messages for "api" protocol */
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-api-protocol.c - API protocol for relay to client
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* API protocol for relay to client */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-api.c - API protocol for relay to client
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* API protocol for relay to client */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -1,6 +1,4 @@
/*
* relay-remote-event.c - process events received from relay remote
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Process events received from relay remote */
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
@@ -1,6 +1,4 @@
/*
* relay-remote-network.c - network functions for relay remote
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Network functions for relay remote */
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-irc.c - IRC protocol for relay to client: IRC proxy/bouncer
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* IRC protocol for relay to client: IRC proxy/bouncer */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-auth.c - relay client authentication
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Relay client authentication */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-bar-item.c - bar items for relay plugin
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Bar items for relay plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-buffer.c - display clients list on relay buffer
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Display clients list on relay buffer */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-client.c - client functions for relay plugin
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Client functions for relay plugin */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-command.c - relay commands
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Relay commands */
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-completion.c - completion for relay command
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Completion for relay command */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-config.c - relay configuration options (file relay.conf)
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Relay configuration options (file relay.conf) */
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-http.c - HTTP request parser for relay plugin
*
* SPDX-FileCopyrightText: 2023-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* HTTP request parser for relay plugin */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-info.c - info and infolist hooks for relay plugin
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Info and infolist hooks for relay plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-network.c - network functions for relay plugin
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Network functions for relay plugin */
#include <stdlib.h>
#include <unistd.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-raw.c - functions for Relay raw data messages
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Functions for Relay raw data messages */
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-remote.c - remote relay server functions for relay plugin
*
* SPDX-FileCopyrightText: 2024-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Remote relay server functions for relay plugin */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-server.c - server functions for relay plugin
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Server functions for relay plugin */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-upgrade.c - save/restore relay plugin data when upgrading WeeChat
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Save/restore relay plugin data when upgrading WeeChat */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-websocket.c - websocket server functions for relay plugin (RFC 6455)
*
* SPDX-FileCopyrightText: 2013-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Websocket server functions for relay plugin (RFC 6455) */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay.c - network communication between WeeChat and remote client
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Network communication between WeeChat and remote client */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -1,6 +1,4 @@
/*
* relay-weechat-msg.c - build binary messages for WeeChat protocol
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Build binary messages for WeeChat protocol */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
@@ -1,6 +1,4 @@
/*
* relay-weechat-nicklist.c - nicklist functions for WeeChat protocol
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Nicklist functions for WeeChat protocol */
#include <stdlib.h>
#include <string.h>
@@ -1,6 +1,4 @@
/*
* relay-weechat-protocol.c - WeeChat protocol for relay to client
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* WeeChat protocol for relay to client */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* relay-weechat.c - WeeChat protocol for relay to client
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
*
* SPDX-License-Identifier: GPL-3.0-or-later
@@ -21,6 +19,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* WeeChat protocol for relay to client */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>