make return receipts work again
[claws.git] / src / template.h
1 /*
2  * Sylpheed templates subsystem 
3  * Copyright (C) 2001 Alexander Barinov
4  *
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 2 of the License, or
8  * (at your option) any later version.
9  *
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.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef __TEMPLATE_H__
21 #define __TEMPLATE_H__
22
23 #include <glib.h>
24
25 typedef struct _Template        Template;
26
27 struct _Template {
28         gchar *name;
29         gchar *subject;
30         gchar *to;
31         gchar *value;
32 };
33
34 void template_free              (Template       *tmpl);
35 void template_clear_config      (GSList         *tmpl_list);
36
37 GSList *template_read_config    (void);
38 void template_write_config      (GSList         *tmpl_list);
39
40 GSList *template_get_config     (void);
41 void template_set_config        (GSList         *tmpl_list);
42
43 #endif /* __TEMPLATE_H__ */