4 * Copyright 2003 Oliver Feiler <kiza@kcore.de>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
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.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 /* Set your charset here. ISO-8859-1 is default. */
29 #ifndef TARGET_CHARSET
30 #define TARGET_CHARSET "ISO-8859-1"
34 char *feedurl; /* Non hashified URL */
35 char *feed; /* Raw XML */
40 char *lastmodified; /* Content of header as sent by the server. */
43 netio_error_type netio_error; /* See netio.h */
44 int connectresult; /* Socket errno */
45 char *cookies; /* Login cookies for this feed. */
46 char *authinfo; /* HTTP authinfo string. */
47 char *servauth; /* Server supplied authorization header. */
48 struct newsitem *items;
49 int problem; /* Set if there was a problem
50 * downloading the feed. */
51 char *original; /* Original feed title. */
55 struct newsdata *data;
56 struct newsitem *next_ptr, *prev_ptr; /* Pointer to next/prev item in double linked list */
61 int readstatus; /* 0: unread, 1: read */
64 char *guid; /* Not always present */
68 extern struct feed *first_ptr;
76 # define _(String) gettext (String)
78 # define _(String) (String)s
79 # define ngettext(Singular, Plural, n) (Plural)