X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.h;h=1361fcf1d052b31596f1407a81cc485b5fa833e1;hp=c7196dc5644614e66525b1bfa524ec346579d64d;hb=edeb499676e6d042ef1a913914a9fcb45a8cadde;hpb=e8089cd5efad59a5eec689117acf563a38b8c6c7 diff --git a/write.h b/write.h index c7196dc5..1361fcf1 100644 --- a/write.h +++ b/write.h @@ -39,10 +39,15 @@ struct writer { * It should check whether the command line options given by \a options are * valid. On success, it should return a pointer to the writer-specific * configuration data determined by \a options. Note that this might be called - * more than once with different values of \a options. + * more than once with different values of \a options. \sa \ref free_config(). */ void *(*parse_config)(const char *options); - void (*free_config)(void *conf); + /** + * Dellocate all configuration resources. + * + * This should free whatever was allocated by \ref parse_config(). + */ + void (*free_config)(void *config); /** * Open one instance of this writer. *