article.c
static int add_xref(ARTICLE *artp, const char *group)
Add a newsgroup to the xref list.
- Checks for duplicate entries and returns -1 in case of.
- Occupies a new article number by calling inc_active(). Returns
0 if group is not a local group.
- Checks if enough room in ARTICLE structure and dynamically
allocates more space, if needed.
- Adds newsgroup name and article number to ARTICLE structure.
- Returns 1 to indicate, that group has been succesfully added.
Called from inspect_article().