* assuan-util.c (assuan_set_io_func): New.