Fix bug #3574: Template addressing
[claws.git] / src / recv.c
blob8aa38216df1f1e5a160b2555534c3587aa24bb5f
1 /*
2 * Sylpheed -- 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 #ifdef G_OS_WIN32
34 #include "w32lib.h"
35 #else
36 #include <sys/time.h>
37 #endif
39 #include "recv.h"
40 #include "socket.h"
41 #include "utils.h"
43 static RecvUIFunc recv_ui_func;
44 static gpointer recv_ui_func_data;
46 void recv_set_ui_func(RecvUIFunc func, gpointer data)
48 recv_ui_func = func;
49 recv_ui_func_data = data;