On Tue, Mar 25, 2008 at 03:37:36PM -0700, Steven Dake wrote:
> On Tue, 2008-03-25 at 14:48 -0700, Joel Becker wrote:
> > On Mon, Mar 24, 2008 at 12:58:07PM -0700, Steven Dake wrote:
> > > dataconf_error_t dataconf_track (
> > >       dataconf_handle_t dataconf_handle,
> > >       char *xml_request,
> > >       int track_flags);
> > > 
> > > dataconf_error_t dataconf_trackstop (
> > >       dataconf_handle_t dataconf_handle);
> > 
> >         How does one specify which xml_request to stop tracking?  Is
> > this a track_stopall()?  Can you only track one thing at a time?
> 
> The api only allows one tracking per initialization.  If an api user
> wanted to track multiple queries in their application, they would create
> multiple contexts with dataconf_initialize.
> 
> This allows the directing a query to a specific callback function.

        If that's the case, why separate out the handle initialization?

dataconf_error_t dataconf_track(
        char *xml_request,
        int track_flags,
        dataconf_handle_t *handle);

The handle is tied to the track, after all.

Joel


-- 

"Hey mister if you're gonna walk on water,
 Could you drop a line my way?"

Joel Becker
Principal Software Developer
Oracle
E-mail: [EMAIL PROTECTED]
Phone: (650) 506-8127
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to