1 /* nntp-method.h - VFS modules for NNTP
3 Copyright (C) 2001 Andy Hertzfeld
5 The Gnome Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public License as
7 published by the Free Software Foundation; either version 2 of the
8 License, or (at your option) any later version.
10 The Gnome Library 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 GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public
16 License along with the Gnome Library; see the file COPYING.LIB. If not,
17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
20 based on Ian McKellar's (yakk@yakk.net) ftp method for gnome-vfs
22 presents a high level, file-oriented view of a newsgroup, integrating file fragments
23 and organizing them in folders
25 Author: Andy Hertzfeld <andy@differnet.com>
32 #include <libgnomevfs/gnome-vfs-module.h>
48 gboolean is_directory;
56 GnomeVFSMethodHandle method_handle;
57 GnomeVFSInetConnection *inet_connection;
58 GnomeVFSSocketBuffer *socketbuf;
60 GString *response_buffer;
61 gchar *response_message;
70 gchar *server_type; /* the response from TYPE */
74 nntp_file *current_file;
75 GList *current_fragment;
82 gboolean request_in_progress;
84 gboolean uu_decode_mode;
85 gboolean base_64_decode_mode;
89 #endif /* NNTP_METHOD_H */