fix bug 4773, 'remove obsolescent AC_C_CONST'
[claws.git] / src / recv.c
blob90fb3d566ac97d238fb532970a8e7beb6ef4a317
1 /*
2 * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifdef HAVE_CONFIG_H
21 # include "config.h"
22 #include "claws-features.h"
23 #endif
25 #include "defs.h"
27 #include <glib.h>
28 #include <glib/gi18n.h>
29 #include <stdio.h>
30 #include <string.h>
31 #include <unistd.h>
33 #ifndef G_OS_WIN32
34 #include <sys/time.h>
35 #endif
37 #include "recv.h"
38 #include "socket.h"
39 #include "utils.h"
41 static RecvUIFunc recv_ui_func;
42 static gpointer recv_ui_func_data;
44 void recv_set_ui_func(RecvUIFunc func, gpointer data)
46 recv_ui_func = func;
47 recv_ui_func_data = data;