cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fwd: Re: Close callback

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 6 Mar 2008 18:05:04 -0600

On Thu, Mar 6, 2008 at 2:14 PM, Ingo Krabbe <ikrabbe.ask_at_web.de> wrote:

> What I really need is contextual data, that I attached
> to the callbacks and I need a signal when to create it,
> when to change behaviour (in/out) and when to close and
> destroy the contextual data, since that is completely
> controlled by the asynchronous request:

Does the "/curl/docs/examples/ghiper.c" example help you?

In particular, the sock_cb() function manages GIOChannel
objects inside a GMainLoop.

 - Jeff
Received on 2008-03-07