talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit fefa4287e3e56404dae8ad7118268963e7676629
parent 89de2dcb6f1e530197d22573626bda4e3a43e54c
Author: Oliver Lowe <o@olowe.co>
Date:   Fri, 15 Aug 2025 15:02:57 +1000

Remove unused RecvFunc

Diffstat:
Msrc/Makefile.am | 2--
Msrc/imap.c | 1-
Msrc/inc.c | 1-
Msrc/news.c | 1-
Msrc/pop.c | 1-
Dsrc/recv.c | 46----------------------------------------------
Dsrc/recv.h | 35-----------------------------------
7 files changed, 0 insertions(+), 87 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am @@ -141,7 +141,6 @@ claws_mail_SOURCES = \ quote_fmt.c \ quote_fmt_lex.l \ quote_fmt_parse.y \ - recv.c \ send_message.c \ setup.c \ sourcewindow.c \ @@ -252,7 +251,6 @@ claws_mailinclude_HEADERS = \ quote_fmt.h \ quote_fmt_lex.h \ quote_fmt_parse.h \ - recv.h \ remotefolder.h \ send_message.h \ setup.h \ diff --git a/src/imap.c b/src/imap.c @@ -52,7 +52,6 @@ #include "session.h" #include "procmsg.h" #include "socket.h" -#include "recv.h" #include "procheader.h" #include "prefs_account.h" #include "codeconv.h" diff --git a/src/inc.c b/src/inc.c @@ -43,7 +43,6 @@ #include "socket.h" #include "ssl.h" #include "pop.h" -#include "recv.h" #include "mbox.h" #include "file-utils.h" #include "utils.h" diff --git a/src/news.c b/src/news.c @@ -37,7 +37,6 @@ #include "nntp-thread.h" #include "news.h" #include "socket.h" -#include "recv.h" #include "procmsg.h" #include "procheader.h" #include "folder.h" diff --git a/src/pop.c b/src/pop.c @@ -35,7 +35,6 @@ #include "md5.h" #include "prefs_account.h" #include "utils.h" -#include "recv.h" #include "partial_download.h" #include "log.h" #include "hooks.h" diff --git a/src/recv.c b/src/recv.c @@ -1,46 +0,0 @@ -/* - * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -#ifdef HAVE_CONFIG_H -# include "config.h" -#include "claws-features.h" -#endif - -#include "defs.h" - -#include <glib.h> -#include <glib/gi18n.h> -#include <stdio.h> -#include <string.h> -#include <unistd.h> - -#include <sys/time.h> - -#include "recv.h" -#include "socket.h" -#include "utils.h" - -static RecvUIFunc recv_ui_func; -static gpointer recv_ui_func_data; - -void recv_set_ui_func(RecvUIFunc func, gpointer data) -{ - recv_ui_func = func; - recv_ui_func_data = data; -} diff --git a/src/recv.h b/src/recv.h @@ -1,35 +0,0 @@ -/* - * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 3 of the License, or - * (at your option) any later version. - * - * This program 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 General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -#ifndef __RECV_H__ -#define __RECV_H__ - -#include <glib.h> - -#include "socket.h" - -typedef gboolean (*RecvUIFunc) (SockInfo *sock, - gint count, - gint read_bytes, - gpointer data); - -void recv_set_ui_func (RecvUIFunc func, - gpointer data); - -#endif /* __RECV_H__ */