From 4ba472b7148a36788b9b86702a3828b189c7c2ac Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 14 Jan 2010 23:49:57 +0100 Subject: [PATCH] filter.h: Document that the ->close method need not be provided. --- filter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/filter.h b/filter.h index 2c1fdac1..a11cad50 100644 --- a/filter.h +++ b/filter.h @@ -64,7 +64,8 @@ struct filter { * Close one instance of this filter. * * Free all resources of associated with \a fn that were previously allocated - * by the open() function. + * by the open() function. It's OK to leave this alone if the filter does not + * need any cleanups. */ void (*close)(struct filter_node *fn); /** -- 2.39.2