From 7422d0288f725b17eec4c9b39ea94276794afcdb Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 3 Sep 2007 12:29:07 +0000 Subject: doc/ 2007-09-03 Marcus Brinkmann * assuan.texi: Fix prototype and documentation for assuan_inquire_ext. src/ 2007-09-03 Marcus Brinkmann * assuan.h (assuan_inquire_ext): Move buffer and buffer_length arguments callback in prototype. * assuan-defs.h (struct assuan_context_s): Remove members inquire_r_buffer and inquire_r_buffer_len. Add buffer and buffer length arguments to inquire_cb. * assuan-inquire.c (_assuan_inquire_ext_cb): Return buffer and buffer length via callback. (assuan_inquire_ext): Move buffer and buffer length arguments to callback. --- src/assuan-defs.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/assuan-defs.h') diff --git a/src/assuan-defs.h b/src/assuan-defs.h index 52b0d8b..e423ab2 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -1,5 +1,5 @@ /* assuan-defs.c - Internal definitions to Assuan - * Copyright (C) 2001, 2002, 2004, 2005 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc. * * This file is part of Assuan. * @@ -107,10 +107,8 @@ struct assuan_context_s int in_command; /* The following members are used by assuan_inquire_ext. */ - int (*inquire_cb) (void *cb_data, int rc); + int (*inquire_cb) (void *cb_data, int rc, unsigned char *buf, size_t len); void *inquire_cb_data; - unsigned char **inquire_r_buffer; - size_t *inquire_r_buffer_len; void *inquire_membuf; char *hello_line; -- cgit v1.2.1