X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.h;h=a11cad50d272981c21d986f6381d3dd41a823c25;hp=fa00a5780551374296c693a6df312f6f6c74f800;hb=11ef83c4abb2ccbdf3f99a8adf98749b2b0656c2;hpb=1ea8e176b77d9966bf5193566738a20e0f30b3a8 diff --git a/filter.h b/filter.h index fa00a578..a11cad50 100644 --- a/filter.h +++ b/filter.h @@ -20,12 +20,6 @@ struct filter_node { * instance of the filter here. */ void *private_data; - /** The output buffer. */ - char *buf; - /** The size of the output buffer. */ - size_t bufsize; - /** The number of bytes currently loaded in \a buf. */ - size_t loaded; /** The list of registered callbacks. */ struct list_head callbacks; /** A pointer to the configuration of this instance. */ @@ -70,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); /**