Re:Re: Puzzled at callback data in Squid-2.5.PRE6.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 20 Apr 2002 12:27:06 +0200

On Saturday 20 April 2002 07:09, maer727@sohu.com wrote:

> Is there a simple example in Squid about how Squid implements
> fooOperationStart, fooOperationComplete, callback_func. Can you
> introduce a simple example in Squid to me?

Many if you look outside client_side.c..

event.c is one.

  fooOpearationStart == eventAdd
  fooOperantionComplete == the loop in eventRun
  callback_func == the func argument to eventAdd

redirect.c is another

  fooOperationStart == redirectStart
  fooOperationComplete == redirectHandleReply
  callback_func == the handler argument to redirectStart

Regards
Henrik
Received on Sat Apr 20 2002 - 06:13:59 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:14 MST