-/* $Id: alvis.c,v 1.1 2006-07-03 14:27:09 adam Exp $
- Copyright (C) 1995-2005
+/* $Id: alvis.c,v 1.3 2006-08-22 13:39:26 adam Exp $
+ Copyright (C) 1995-2006
Index Data ApS
This file is part of the Zebra server.
for more details.
You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra. If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
*/
#include <stdio.h>
static int ioread_ex(void *context, char *buffer, int len)
{
struct recExtractCtrl *p = context;
- return (*p->readf)(p->fh, buffer, len);
+ return p->stream->readf(p->stream, buffer, len);
}
static int ioclose_ex(void *context)
static int ioread_ret(void *context, char *buffer, int len)
{
struct recRetrieveCtrl *p = context;
- return (*p->readf)(p->fh, buffer, len);
+ return p->stream->readf(p->stream, buffer, len);
}
static int ioclose_ret(void *context)