1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 07:16:37 +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 @@
/*
* alias-command.c - alias 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/>.
*/
/* Alias commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* alias-completion.c - completion for alias 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/>.
*/
/* Completion for alias commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* alias-config.c - alias configuration options (file alias.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/>.
*/
/* Alias configuration options (file alias.conf) */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* alias-info.c - info and infolist hooks for alias 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 alias plugin */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* alias.c - alias plugin for WeeChat: command aliases
*
* 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/>.
*/
/* Alias plugin for WeeChat: command aliases */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-bar-item.c - bar item for buflist 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/>.
*/
/* Bar item for buflist plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-command.c - buflist 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/>.
*/
/* Buflist command */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-completion.c - completion for buflist command
*
* 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/>.
*/
/* Completion for buflist command */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-config.c - buflist configuration options (file buflist.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/>.
*/
/* Buflist configuration options (file buflist.conf) */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-info.c - infolist hook for buflist plugin
*
* SPDX-FileCopyrightText: 2019 Simmo Saan <simmo.saan@gmail.com>
* SPDX-FileCopyrightText: 2019-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Infolist hook for buflist plugin */
#include "../weechat-plugin.h"
#include "buflist.h"
#include "buflist-bar-item.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist-mouse.c - mouse actions for buflist
*
* 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/>.
*/
/* Mouse actions for buflist */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* buflist.c - Bar with list of buffers
*
* 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/>.
*/
/* Bar with list of buffers */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* charset.c - charset plugin for WeeChat: encode/decode strings
*
* 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/>.
*/
/* Charset plugin for WeeChat: encode/decode strings */
#include <stdio.h>
#include <stdlib.h>
#ifndef __USE_GNU
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* exec-buffer.c - buffers with output of commands
*
* SPDX-FileCopyrightText: 2014-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/>.
*/
/* Buffers with output of commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* exec-command.c - exec command
*
* SPDX-FileCopyrightText: 2014-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/>.
*/
/* Exec command */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* exec-completion.c - completion for exec commands
*
* SPDX-FileCopyrightText: 2014-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 exec commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* exec-config.c - exec configuration options (file exec.conf)
*
* SPDX-FileCopyrightText: 2014-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/>.
*/
/* Exec configuration options (file exec.conf) */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* exec.c - execution of external commands in WeeChat
*
* SPDX-FileCopyrightText: 2014-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/>.
*/
/* Execution of external commands in WeeChat */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fifo-command.c - fifo 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/>.
*/
/* Fifo command */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fifo-config.c - fifo configuration options (file fifo.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/>.
*/
/* Fifo configuration options (file fifo.conf) */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fifo-info.c - info and infolist hooks for fifo 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 fifo plugin */
#include <stdlib.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fifo.c - fifo plugin for WeeChat: remote control with FIFO pipe
*
* 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/>.
*/
/* Fifo plugin for WeeChat: remote control with FIFO pipe */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-bar-item.c - bar item for Fast Set 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/>.
*/
/* Bar item for Fast Set plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-buffer.c - buffer for Fast Set 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/>.
*/
/* Buffer for Fast Set plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-command.c - Fast Set 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/>.
*/
/* Fast Set command */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-completion.c - completion for Fast Set 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/>.
*/
/* Completion for Fast Set commands */
#include <stdlib.h>
#include "../weechat-plugin.h"
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-config.c - Fast Set configuration options (file fset.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/>.
*/
/* Fast Set configuration options (file fset.conf) */
#include <stdlib.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-info.c - info, infolist and hdata hooks for Fast Set 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, infolist and hdata hooks for Fast Set plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-mouse.c - mouse actions for Fast Set 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/>.
*/
/* Mouse actions for Fast Set plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset-option.c - manage options displayed by Fast Set 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/>.
*/
/* Manage options displayed by Fast Set buffer */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* fset.c - Fast set of WeeChat and plugins options
*
* 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/>.
*/
/* Fast set of WeeChat and plugins options */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-guile-api.c - guile API functions
*
* SPDX-FileCopyrightText: 2011-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Guile API functions */
#undef _
#include <libguile.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-guile.c - guile (scheme) plugin for WeeChat
*
* SPDX-FileCopyrightText: 2011-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/>.
*/
/* Guile (scheme) plugin for WeeChat */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-bar-item.c - bar items for IRC 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/>.
*/
/* Bar items for IRC plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-batch.c - functions for managing batched events
*
* 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/>.
*/
/* Functions for managing batched events */
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-buffer.c - buffer functions for IRC 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/>.
*/
/* Buffer functions for IRC plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-channel.c - channel and private chat management for IRC 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/>.
*/
/* Channel and private chat management for IRC plugin */
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-color.c - IRC color decoding/encoding in 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/>.
*/
/* IRC color decoding/encoding in messages */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-command.c - IRC commands
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2006 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* IRC commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-completion.c - completion for IRC 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/>.
*/
/* Completion for IRC commands */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-config.c - IRC configuration options (file irc.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/>.
*/
/* IRC configuration options (file irc.conf) */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-ctcp.c - IRC CTCP 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/>.
*/
/* IRC CTCP protocol */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-debug.c - debug functions for IRC 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/>.
*/
/* Debug functions for IRC plugin */
#include <stdlib.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-ignore.c - ignore (nicks/hosts) management for IRC 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/>.
*/
/* Ignore (nicks/hosts) management for IRC plugin */
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-info.c - info, infolist and hdata hooks for IRC 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, infolist and hdata hooks for IRC plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-input.c - input data management for IRC buffers
*
* 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/>.
*/
/* Input data management for IRC buffers */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-join.c - functions for list of channels to join
*
* SPDX-FileCopyrightText: 2022-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 list of channels to join */
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-list.c - functions for IRC list buffer
*
* 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/>.
*/
/* Functions for IRC list buffer */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-message.c - functions for IRC 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 IRC messages */
#include <stdlib.h>
#include <limits.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-mode.c - IRC channel/user modes management
*
* 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 channel/user modes management */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-modelist.c - channel mode list management for IRC plugin
*
* SPDX-FileCopyrightText: 2015 Simmo Saan <simmo.saan@gmail.com>
* SPDX-FileCopyrightText: 2018-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Channel mode list management for IRC plugin */
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-msgbuffer.c - target buffer for IRC 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/>.
*/
/* Target buffer for IRC messages */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-nick.c - nick management for IRC 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/>.
*/
/* Nick management for IRC plugin */
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-notify.c - notify lists for IRC plugin
*
* SPDX-FileCopyrightText: 2010-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/>.
*/
/* Notify lists for IRC plugin */
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-protocol.c - implementation of IRC protocol
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2006 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2014 Shawn Smith <ShawnSmith0828@gmail.com>
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Implementation of IRC protocol */
/* this define is needed for strptime() (not on OpenBSD/Sun) */
#if !defined(__OpenBSD__) && !defined(__sun)
#define _XOPEN_SOURCE 700
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-raw.c - functions for IRC 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 IRC raw data messages */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-redirect.c - redirection of IRC command output
*
* SPDX-FileCopyrightText: 2010-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/>.
*/
/* Redirection of IRC command output */
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-sasl.c - SASL authentication with IRC server
*
* 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/>.
*/
/* SASL authentication with IRC server */
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-server.c - I/O communication with IRC servers
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2005-2010 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* I/O communication with IRC servers */
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-tag.c - functions for IRC message tags
*
* SPDX-FileCopyrightText: 2021-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 IRC message tags */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-typing.c - manage typing status on channels/private
*
* SPDX-FileCopyrightText: 2021-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/>.
*/
/* Manage typing status on channels/private */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc-upgrade.c - save/restore IRC 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 IRC plugin data when upgrading WeeChat */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* irc.c - IRC (Internet Relay Chat) plugin for 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/>.
*/
/* IRC (Internet Relay Chat) plugin for WeeChat */
#include <stdlib.h>
#include <string.h>
#include <time.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-js-api.cpp - javascript API functions
*
* SPDX-FileCopyrightText: 2013 Koka El Kiwi <kokakiwi@kokakiwi.net>
* SPDX-FileCopyrightText: 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* JavaScript API functions */
#undef _
#include <cstdlib>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-js-v8.cpp - v8 javascript functions
*
* SPDX-FileCopyrightText: 2013 Koka El Kiwi <kokakiwi@kokakiwi.net>
* SPDX-FileCopyrightText: 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* V8 JavaScript functions */
#undef _
#include <cstdio>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-js.cpp - javascript plugin for WeeChat
*
* SPDX-FileCopyrightText: 2013 Koka El Kiwi <kokakiwi@kokakiwi.net>
* SPDX-FileCopyrightText: 2015-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* JavaScript plugin for WeeChat */
#include <cstdlib>
#include <cstdio>
#include <cstring>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-backlog.c - display backlog of 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/>.
*/
/* Display backlog of messages */
/* this define is needed for strptime() (not on OpenBSD/Sun) */
#if !defined(__OpenBSD__) && !defined(__sun)
#define _XOPEN_SOURCE 700
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-buffer.c - logger buffer list management
*
* 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/>.
*/
/* Logger buffer list management */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-command.c - logger 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/>.
*/
/* Logger commands */
#include <stdlib.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-config.c - logger configuration options (file logger.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/>.
*/
/* Logger configuration options (file logger.conf) */
#include <stdlib.h>
#include <string.h>
#include <limits.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-info.c - info and infolist hooks for logger 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 logger plugin */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger-tail.c - return last lines of a file
*
* 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/>.
*/
/* Return last lines of a file */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* logger.c - logger plugin for WeeChat: save buffer lines to disk files
*
* 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/>.
*/
/* Logger plugin for WeeChat: save buffer lines to disk files */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-lua-api.c - lua API functions
*
* SPDX-FileCopyrightText: 2006-2007 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2006-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Lua API functions */
#undef _
#include <lua.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-lua.c - lua plugin for WeeChat
*
* SPDX-FileCopyrightText: 2006-2007 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2006-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Lua plugin for WeeChat */
#undef _
#include <lua.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-perl-api.c - perl API functions
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2005-2008 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Perl API functions */
#undef _
#include <EXTERN.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-perl.c - perl plugin for WeeChat
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2005-2008 Emmanuel Bouthenot <kolter@openics.org>
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Perl plugin for WeeChat */
#undef _
#include <stdlib.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-php-api.c - PHP API functions
*
* SPDX-FileCopyrightText: 2006-2017 Adam Saponara <as@php.net>
* SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -35,6 +33,8 @@
* as that of the covered work.
*/
/* PHP API functions */
#include <sapi/embed/php_embed.h>
#include <php.h>
#include <php_ini.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-php.c - PHP plugin for WeeChat
*
* SPDX-FileCopyrightText: 2006-2017 Adam Saponara <as@php.net>
* SPDX-FileCopyrightText: 2017-2025 Sébastien Helleu <flashcode@flashtux.org>
*
@@ -35,6 +33,8 @@
* as that of the covered work.
*/
/* PHP plugin for WeeChat */
#include <sapi/embed/php_embed.h>
#include <php.h>
#include <php_ini.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin-api-info.c - extra info functions for plugin API
*
* 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/>.
*/
/* Extra info functions for plugin API */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin-api.c - extra functions for plugin API
*
* 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/>.
*/
/* Extra functions for plugin API */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin-config.c - plugin configuration options (file plugins.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/>.
*/
/* Plugin configuration options (file plugins.conf) */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* script-api.c - script API functions, used by script plugins
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
*
@@ -22,6 +20,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Script API functions, used by script plugins */
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin-script-config.c - configuration options, used by script plugins
*
* 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/>.
*/
/* Configuration options, used by script plugins */
#include <stdlib.h>
#include <stdio.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin-script.c - common functions used by script plugins
*
* 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/>.
*/
/* Common functions used by script plugins */
#include <stdlib.h>
#include <stddef.h>
#include <unistd.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* plugin.c - WeeChat plugins management (load/unload dynamic C libraries)
*
* 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 plugins management (load/unload dynamic C libraries) */
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-python-api.c - python API functions
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Python API functions */
#undef _
#include <Python.h>
+2 -2
View File
@@ -1,6 +1,4 @@
/*
* weechat-python.c - python plugin for WeeChat
*
* SPDX-FileCopyrightText: 2003-2025 Sébastien Helleu <flashcode@flashtux.org>
* SPDX-FileCopyrightText: 2005-2007 Emmanuel Bouthenot <kolter@openics.org>
* SPDX-FileCopyrightText: 2012 Simon Arlott
@@ -23,6 +21,8 @@
* along with WeeChat. If not, see <https://www.gnu.org/licenses/>.
*/
/* Python plugin for WeeChat */
#undef _
#include <Python.h>
+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>

Some files were not shown because too many files have changed in this diff Show More