INN commit: trunk (17 files)

INN Commit Russ_Allbery at isc.org
Tue Jul 5 05:24:00 UTC 2005


    Date: Monday, July 4, 2005 @ 22:23:58
  Author: eagle
Revision: 7387

Add an overview_cancel (which takes group and article number) and
overview_cancel_xref (which takes a token and retrieves the Xref header
from the article to find groups and article numbers) interfaces to the
new overview API.

Change the underlying cancel method of overview backends to take a group
and article number rather than a token, since an overview backend is
never going to know what to do with a token.

Modify OVcancel, copying the new overview_cancel_xref implementation, to
retrieve the article and parse the Xref header to find groups and article
numbers and then call the cancel method for each pair.

Implement the new cancel method for tradindexed.  buffindexed and ovdb
still have stub implementations at this point.

Modify innd to cancel the overview data for an article whenever cancelling
an article.

Added:
  trunk/tests/data/articles/xref
Modified:
  trunk/MANIFEST
  trunk/include/inn/overview.h
  trunk/innd/art.c
  trunk/storage/buffindexed/buffindexed.c
  trunk/storage/buffindexed/buffindexed.h
  trunk/storage/ov.c
  trunk/storage/ovdb/ovdb.c
  trunk/storage/ovdb/ovdb.h
  trunk/storage/overview.c
  trunk/storage/ovinterface.h
  trunk/storage/tradindexed/tdx-data.c
  trunk/storage/tradindexed/tdx-private.h
  trunk/storage/tradindexed/tradindexed.c
  trunk/storage/tradindexed/tradindexed.h
  trunk/tests/overview/api-t.c
  trunk/tests/overview/xref-t.c

-----------------------------------+
 MANIFEST                          |    1 
 include/inn/overview.h            |   10 +++++
 innd/art.c                        |    2 +
 storage/buffindexed/buffindexed.c |    2 -
 storage/buffindexed/buffindexed.h |    2 -
 storage/ov.c                      |   54 ++++++++++++++++++++++++++++--
 storage/ovdb/ovdb.c               |    4 +-
 storage/ovdb/ovdb.h               |    2 -
 storage/overview.c                |   64 ++++++++++++++++++++++++++++++++++++
 storage/ovinterface.h             |    2 -
 storage/tradindexed/tdx-data.c    |   25 ++++++++++++++
 storage/tradindexed/tdx-private.h |    3 +
 storage/tradindexed/tradindexed.c |   24 ++++++++++---
 storage/tradindexed/tradindexed.h |    2 -
 tests/data/articles/xref          |    9 +++++
 tests/overview/api-t.c            |   19 ++++++++++
 tests/overview/xref-t.c           |   52 +++++++++++++++++++++++++++--
 17 files changed, 256 insertions(+), 21 deletions(-)


More information about the inn-committers mailing list