RSSyl: Allow use of .netrc by libcurl. Bug/enhancement #3309, by Vincent Pelletier
[claws.git] / src / plugins / archive / archiver.h
1 /* vim: set textwidth=80 tabstop=4: */
2
3 /*
4  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
5  * Copyright (C) 1999-2008 Michael Rasmussen and the Claws Mail Team
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  * 
20  */
21
22 #ifndef __ARCHIVER_H__
23 #define __ARCHIVER_H__
24
25 #include <glib.h>
26 #include <gtk/gtk.h>
27
28 static const char INVALID_UNIX_CHARS[] = {
29                 '?', '%', '*', ':', '"', '|', '<', '>',
30                 '(', ')', '#', ',', '\0'};
31
32 struct ArchivePage {
33         gchar*          path;
34         gchar*          name;
35         gboolean        response;
36         gboolean        force_overwrite;
37         gboolean        md5;
38         gboolean        rename;
39         GtkWidget*      folder;
40         GtkWidget*      file;
41         guint           files;
42         guint           total_size;
43         GSList*         compress_methods;
44         GSList*         archive_formats;
45         GtkWidget*      recursive;
46         GtkWidget*      md5sum;
47         GtkWidget*      rename_files;
48         gboolean        cancelled;
49         GtkWidget*      isoDate;
50         gboolean        unlink;
51         GtkWidget*      unlink_files;
52 };
53
54 void archiver_gtk_show();
55 void archiver_gtk_done();
56 void set_progress_file_label(const gchar* file);
57 void set_progress_print_all(guint fraction, guint total, guint step);
58 void stop_archiving();
59
60 #endif