Searched refs:last_db_article (Results 1 – 13 of 13) sorted by relevance
/dports/news/nn/nn-6.7.3/ |
H A D | expire.c | 115 if (gh->last_db_article == 0) in expire_in_database() 156 gh->last_db_article = gh->last_a_article; in expire_in_database() 157 gh->first_db_article = gh->last_db_article + 1; in expire_in_database() 167 old_last_article = gh->last_db_article; in expire_in_database() 168 gh->last_db_article = 0; in expire_in_database() 195 old_last_article = gh->last_db_article; in expire_in_database() 239 gh->last_db_article = db_hdr.dh_number - 1; in expire_in_database() 241 if (gh->last_db_article < db_hdr.dh_number) { in expire_in_database() 248 gh->last_db_article++; in expire_in_database() 257 gh->last_db_article = old_last_article; in expire_in_database() [all …]
|
H A D | collect.c | 352 if (gh->last_db_article == 0) { in collect_group() 354 gh->last_db_article = gh->first_db_article - 1; in collect_group() 372 start_collect = gh->last_db_article + 1; in collect_group() 384 gh->last_db_article++; in collect_group() 386 printf("\r%ld", gh->last_db_article); in collect_group() 398 temp = collect_article(gh, gh->last_db_article); in collect_group() 403 gh->last_db_article--; in collect_group() 427 start_collect, gh->last_db_article, in collect_group() 433 start_collect, gh->last_db_article, in collect_group() 476 if (gh->last_db_article == gh->last_a_article) { in do_collect() [all …]
|
H A D | group.c | 263 prev_last = gh->last_db_article; in group_menu() 279 if (gh->last_db_article < prev_last) { in group_menu() 312 n = gh->last_db_article - article_limit + 1; in group_menu() 464 if (gh->last_db_article == 0) in lookup_regexp() 466 if (gh->last_db_article < gh->first_db_article) in lookup_regexp() 786 gh->last_db_article == 0 || in goto_group() 787 gh->last_db_article < gh->first_db_article) { in goto_group() 803 gh->current_first = gh->last_db_article + 1; in goto_group() 903 if (first > gh->last_db_article) in goto_group() 931 gh->last_db_article : gh->current_first - 1, in goto_group() [all …]
|
H A D | admin.c | 241 articles1 += gh->last_db_article - gh->first_db_article + 1; in master_status() 296 gh->first_db_article, gh->last_db_article); in dump_m_entry() 328 if (gh->first_db_article == (gh->last_db_article + 1) in validate_group() 355 if (gh->last_db_article == 0) { in validate_group() 360 if (gh->first_a_article > (gh->last_db_article + 1) || in validate_group() 361 gh->last_db_article > gh->last_a_article || in validate_group() 367 gh->first_db_article, gh->last_db_article); in validate_group() 383 while (cur_article <= gh->last_db_article) { in validate_group() 430 while (++cur_article <= gh->last_db_article) { in validate_group() 504 (long) gh->last_db_article); in dump_group()
|
H A D | newsrc.c | 957 if (rc_min <= gh->last_db_article) in end_rc_update() 1206 if (gh->last_db_article > 0) in add_to_newsrc() 1208 gh->last_db_article > 1 ? "1-" : "", in add_to_newsrc() 1209 (long) gh->last_db_article); in add_to_newsrc() 1225 if (last > gh->last_db_article) in restore_rc() 1230 n = gh->last_db_article;/* fake for end_rc_update */ in restore_rc() 1231 gh->last_db_article = last; in restore_rc() 1234 gh->last_db_article = n; in restore_rc() 1321 if (gh->last_db_article > gh->last_article) { in count_unread_articles() 1394 ahdr.a_number <= gh->last_db_article; in add_unread() [all …]
|
H A D | articles.c | 276 if (last_article > gh->last_db_article) 277 last_article = gh->last_db_article; 369 if (db_hdr.dh_number > gh->last_db_article 648 gh->last_db_article - gh->first_db_article);
|
H A D | master.c | 190 gh->last_db_article = 0; in clean_group_internal() 511 gh->last_db_article = gh->first_db_article - 1; in build_master() 512 if (gh->last_db_article < 0) in build_master() 513 gh->last_db_article = 0; in build_master()
|
H A D | db.c | 836 return gh->first_db_article <= art_num && gh->last_db_article >= art_num; 1151 gh->last_db_article = buf[1]; 1188 buf[1] = gh->last_db_article; 1535 gh->last_db_article = gh->last_a_article; /* highest # in ov. data */ 1583 gh->last_db_article = atol(lastartp->a_num); /* highest # */ 1588 if (gh->last_db_article < 0) 1589 gh->last_db_article = -gh->last_db_article;
|
H A D | nn.c | 324 gh->last_db_article = 0; in read_news() 434 (long) (gh->last_db_article - gh->last_article)); in catch_up() 659 access_group(gh, gh->first_db_article, gh->last_db_article, in do_nnspew()
|
H A D | data.h | 67 article_number last_db_article; /* max article in db */ member
|
H A D | sequence.c | 162 gh->last_db_article = 2; in faked_entry() 219 gh->last_db_article = 2; in mail_check()
|
H A D | init.c | 708 (long) (gh->first_db_article), (long) (gh->last_db_article), in do_show() 1356 if (!restore_rc(gh, gh->last_db_article - (article_number) ARGVAL(ix))) in parse_command()
|
H A D | nntp.c | 1194 (long) gh->first_db_article, (long) gh->last_db_article)) { in nntp_get_article_list()
|