common/iobuf.c: Refactor code to not need the desc field.
authorNeal H. Walfield <neal@g10code.com>
Sun, 9 Aug 2015 14:57:42 +0000 (16:57 +0200)
committerNeal H. Walfield <neal@g10code.com>
Thu, 20 Aug 2015 12:16:17 +0000 (14:16 +0200)
commit679acc671e621847f50d6b4dca10a22c62500b9a
treec2bf8a7a08269b6d512d3796c98c5e5521f61346
parent12fc56bcb51d984a6e86fc1eb7952f9976c67043
common/iobuf.c: Refactor code to not need the desc field.

* common/iobuf.h (struct iobuf_struct): Remove field desc.
* common/iobuf.c (iobuf_desc): New function.  When a filter's
description is needed, use this instead of the filter's desc field.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
common/iobuf.c
common/iobuf.h