tin
2.6.1
About: TIN is a threaded NNTP and spool based UseNet newsreader.
![]() ![]() |
#include "tin.h"
Go to the source code of this file.
Functions | |
static t_bool | group_add_to_hash (const char *groupname, int idx) |
void | init_group_hash (void) |
unsigned long | hash_groupname (const char *group) |
int | find_group_index (const char *group, t_bool ignore_case) |
struct t_group * | group_find (const char *group_name, t_bool ignore_case) |
struct t_group * | group_add (const char *group) |
void | group_rehash (t_bool yanked_out) |
Variables | |
static int | group_hash [1409] |
int find_group_index | ( | const char * | group, |
t_bool | ignore_case | ||
) |
Definition at line 106 of file list.c.
References active, group_hash, hash_groupname(), my_strdup(), name, t_group::next, str_lwr(), strcasecmp(), and STRCMPEQ.
Referenced by add_my_group(), group_find(), and toggle_my_groups().
struct t_group * group_add | ( | const char * | group | ) |
Definition at line 213 of file list.c.
References active, expand_active(), group_add_to_hash(), max_active, my_strdup(), t_group::name, and num_active.
Referenced by do_read_newsrc_active_file(), process_bogus(), read_active_file(), read_news_active_file(), and subscribe_new_group().
|
static |
Definition at line 172 of file list.c.
References active, FALSE, group_hash, hash_groupname(), my_strdup(), name, t_group::next, str_lwr(), STRCMPEQ, and TRUE.
Referenced by group_add(), and group_rehash().
Definition at line 154 of file list.c.
References active, and find_group_index().
Referenced by art_mark_xref_read(), auto_subscribe_groups(), check_article_to_be_posted(), check_moderated(), do_read_newsrc_active_file(), mail_loop(), mail_to_author(), open_newsgroups_fp(), post_loop(), post_postponed_article(), post_response(), read_active_file(), read_groups_descriptions(), read_news_active_file(), selection_page(), update_active_after_posting(), and write_newsrc_line().
void group_rehash | ( | t_bool | yanked_out | ) |
Definition at line 232 of file list.c.
References active, t_group::bogus, BOGUS_SHOW, debug, DEBUG_MISC, for_each_group, group_add_to_hash(), init_group_hash(), t_menu::max, my_group, name, newsrc, t_group::next, num_active, selmenu, t_config::show_only_unread_groups, t_config::strip_bogus, t_group::subscribed, tinrc, and yanked_out.
Referenced by sort_active_file().
unsigned long hash_groupname | ( | const char * | group | ) |
Definition at line 83 of file list.c.
References TABLE_SIZE.
Referenced by find_group_index(), find_nov_file(), and group_add_to_hash().
void init_group_hash | ( | void | ) |
Definition at line 62 of file list.c.
References group_hash, num_active, and TABLE_SIZE.
Referenced by group_rehash(), and main().
|
static |
Definition at line 50 of file list.c.
Referenced by find_group_index(), group_add_to_hash(), and init_group_hash().