2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 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 2 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, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28 typedef struct _NNTPSession NNTPSession;
30 #define NNTP_SESSION(obj) ((NNTPSession *)obj)
37 gfloat fetch_base_percentage;
38 gfloat fetch_total_percentage;
55 #define NNTPBUFSIZE 8192
58 Session *nntp_session_new (const gchar *server,
65 Session *nntp_session_new (const gchar *server,
72 void nntp_forceauth (NNTPSession *session,
77 gint nntp_group (NNTPSession *session,
82 gint nntp_get_article (NNTPSession *session,
86 gint nntp_article (NNTPSession *session,
89 gint nntp_body (NNTPSession *session,
92 gint nntp_head (NNTPSession *session,
95 gint nntp_stat (NNTPSession *session,
98 gint nntp_next (NNTPSession *session,
101 gint nntp_xover (NNTPSession *session,
104 gint nntp_xhdr (NNTPSession *session,
108 gint nntp_list (NNTPSession *session);
109 gint nntp_post (NNTPSession *session,
111 gint nntp_newgroups (NNTPSession *session);
112 gint nntp_newnews (NNTPSession *session);
113 gint nntp_mode (NNTPSession *sessio,
116 #endif /* __NNTP_H__ */