Home
last modified time | relevance | path

Searched refs:first_db_article (Results 1 – 12 of 12) sorted by relevance

/dports/news/nn/nn-6.7.3/
H A Dexpire.c112 if (gh->first_db_article > gh->last_db_article) in expire_in_database()
157 gh->first_db_article = gh->last_db_article + 1; in expire_in_database()
166 gh->first_db_article = 0; in expire_in_database()
237 if (gh->first_db_article == 0) { in expire_in_database()
238 gh->first_db_article = db_hdr.dh_number; in expire_in_database()
255 if (gh->first_db_article == 0) { in expire_in_database()
256 gh->first_db_article = old_last_article + 1; in expire_in_database()
320 if (gh->first_a_article <= gh->first_db_article) in expire_sliding()
444 gh->first_db_article = gh->first_a_article; in expire_sliding()
523 gh->first_db_article > gh->first_a_article) { in do_expire()
[all …]
H A Dcollect.c353 gh->first_db_article = gh->first_a_article; in collect_group()
354 gh->last_db_article = gh->first_db_article - 1; in collect_group()
411 gh->first_db_article = gh->last_db_article + 1; in collect_group()
421 if (start_collect < gh->first_db_article) in collect_group()
422 start_collect = gh->first_db_article; in collect_group()
487 gh->first_db_article = gh->last_a_article; /* OBS: not first */ in do_collect()
H A Dadmin.c241 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()
362 gh->first_db_article > gh->first_a_article) { in validate_group()
367 gh->first_db_article, gh->last_db_article); in validate_group()
381 cur_article = gh->first_db_article - 1; in validate_group()
503 (long) gh->first_db_article, in dump_group()
507 first_article = gh->first_db_article; in dump_group()
680 NODUMP(gh->first_a_article >= gh->first_db_article); in master_admin()
H A Dgroup.c283 if ((gh->last_article = gh->first_db_article - 1) < 0) in group_menu()
302 gh->current_first = gh->first_db_article; in group_menu()
466 if (gh->last_db_article < gh->first_db_article) in lookup_regexp()
543 if (gh->first_db_article < gh->last_db_article && gh->current_first <= 0) { in goto_group()
757 if (gh->current_first <= gh->first_db_article) { in goto_group()
764 gh->current_first - gh->first_db_article); in goto_group()
787 gh->last_db_article < gh->first_db_article) { in goto_group()
814 else if (gh->current_first <= gh->first_db_article) in goto_group()
914 if (gh->current_first <= gh->first_db_article) in goto_group()
926 if (first < gh->first_db_article) in goto_group()
[all …]
H A Darticles.c273 if (first_article < gh->first_db_article)
274 first_article = gh->first_db_article;
370 || db_hdr.dh_number < gh->first_db_article)
647 ah->a_number - gh->first_db_article,
648 gh->last_db_article - gh->first_db_article);
H A Ddb.c836 return gh->first_db_article <= art_num && gh->last_db_article >= art_num;
1150 gh->first_db_article = buf[0];
1187 buf[0] = gh->first_db_article;
1534 gh->first_db_article = gh->first_a_article; /* lowest # in ov. data */
1574 gh->first_db_article = atol(allarts->a_num); /* lowest # */
1586 if (gh->first_db_article < 0)
1587 gh->first_db_article = -gh->first_db_article;
1823 return (off_t) ((art_num - gh->first_db_article) * sizeof(net_long));
1825 return (off_t) ((art_num - gh->first_db_article) * sizeof(off_t));
1835 if (gh->first_db_article == art_num)
H A Dmaster.c189 gh->first_db_article = 0; in clean_group_internal()
508 gh->first_db_article = gh->last_a_article - initialize + 1; in build_master()
509 if (gh->first_db_article <= gh->first_a_article) in build_master()
511 gh->last_db_article = gh->first_db_article - 1; in build_master()
H A Ddata.h66 article_number first_db_article; /* min article in db */ member
H A Dnewsrc.c567 gh->last_article = gh->first_db_article - 1; in visit_rc_file()
568 } else if (gh->first_db_article > gh->last_article) in visit_rc_file()
569 gh->last_article = gh->first_db_article - 1; in visit_rc_file()
H A Dnn.c659 access_group(gh, gh->first_db_article, gh->last_db_article, in do_nnspew()
H A Dnntp.c1194 (long) gh->first_db_article, (long) gh->last_db_article)) { in nntp_get_article_list()
H A Dinit.c708 (long) (gh->first_db_article), (long) (gh->last_db_article), in do_show()