On Tue, 2007-08-14 at 07:44 -0400, Gregory Haskins wrote:
> On Tue, 2007-08-14 at 01:01 -0700, Dor Laor wrote:

> > Instead of the above code I would call to iter_seek and do everything inside
> > then return a proper error code if needed.
> 
> Im not sure I fully understand your point.  But if I do get what you are
> saying that wouldn't work right for the design.  iter_push and iter_pop
> are special forms of iter_seek(seek_next) in that they advance the index
> AND the position.  iter_seek only advances the position.

/me slapping myself

I think I see what you are saying now.  You just meant make a single
function "iter_seek" which as flags for "seek_next, seek_push, and
seek_pop"? 

Yes, that would work quite nicely and cleans things up a bit.  


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to