Ethereal-dev: [Ethereal-dev] Change the time format for a file with 500 000 frames...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: didier <dgautheron@xxxxxxxx>
Date: Wed, 05 Feb 2003 13:37:48 +0000
It's unusable.

Do we have an iterator for  gtkclist?
in file.c
rather than
for each cfdata in cf->plist
	row = packet_list_find_row_from_data(fdata);
        if row
              set_format ....

something like
for each data in packet_list
       cfdata = data
       set_format ....

Would be better, no?

And optimize a little the loop (common case only one column with time):
   for (i = 0; i < cf->cinfo.num_cols; i++) {
        if (cf->cinfo.fmt_matx[i][COL_CLS_TIME]) {

Didier