curl-library
Re: Function to return the body of a page?
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 13 Mar 2002 22:04:16 +0100
Date: Wed, 13 Mar 2002 22:04:16 +0100
On Wed, 13 Mar 2002 14:02:10 -0700, VanL wrote:
> Hello,
>
> You said:
>
>
> >
> >You should look at getinmemory.c instead, That example does
> exactly
> >what you describe.
> >
> Like this?
Yes. And the process_data() function must of course take a struct
MemoryStruct as a parameter:
void process_data(struct MemoryStruct chunk)
{
printf(chunk.memory);
}
-- Linus Nielsen Feltzing, linus_at_haxx.seReceived on 2002-03-13