1 /* $Id$ */ 2 /* Copyright (c) 2011-2012 Pierre Pronchery <khorben@defora.org> */ 3 /* This file is part of DeforaOS Desktop Mailer */ 4 /* This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation, version 3 of the License. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 * You should have received a copy of the GNU General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. */ 15 16 17 18 #include <stdlib.h> 19 #include "Mailer/account.h" 20 21 22 /* variables */ 23 static char const _rss_type[] = "RSS"; 24 static char const _rss_name[] = "RSS reader"; 25 26 static AccountConfig const _rss_config[] = 27 { 28 { "uri", "Address", ACT_STRING, NULL }, 29 { NULL, NULL, ACT_NONE, NULL } 30 }; 31 32 33 /* functions */ 34 35 36 AccountPluginDefinition account_plugin = 37 { 38 _rss_type, 39 _rss_name, 40 NULL, 41 NULL, 42 _rss_config, 43 NULL, 44 NULL, 45 NULL, 46 NULL, 47 NULL, 48 NULL, 49 NULL 50 }; 51