Re: [Tracker] Email stats



On Sat, 2007-03-10 at 02:41 +0100, Marko Anastasov wrote:
Hi,

Tonight I got a little bit into the code for the first time
and tried to add the Emails category results to 
tracker_dbus_method_get_stats (), by merging the results of
tracker_exec_proc () for data and emails databases. I didn't
finish though, it's really late now so I'm just posting a
non-working patch hoping to hear some suggestion tomorrow.

Is there anything special with these rows that make up the
char *** result of tracker_exec_proc () or they're just string
arrays?


nope - they are just null terminated array of array of strings.

I guess I should add a tracker_concatenate_result function to
tracker-utils.c that appends on result set onto another.

If you have time today feel free to implement above and amend your
patch. 

thanks

jamie.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]