debug_print(_("done.\n"));
}
+/*
+ news_get_group_list returns a strings list.
+ These strings are the names of the newsgroups of a server.
+ item is the FolderItem of the news server.
+ The names of the newsgroups are cached into a file so that
+ when the function is called again, there is no need to make
+ a request to the server.
+ */
+
GSList * news_get_group_list(FolderItem *item)
{
gchar *path, *filename;
return group_list;
}
+/*
+ remove the cache file of the names of the newsgroups.
+ */
+
void news_reset_group_list(FolderItem *item)
{
gchar *path, *filename;
return NN_SUCCESS;
}
+/*
+ nntp_list sends the command "LIST" to the news server,
+ a function is needed to read the newsgroups list.
+ */
+
gint nntp_list(gint sock)
{
GList * result = NULL;