Hi list,

There's no function yet in epan/column_utils.[ch] which enables adding
a string to the column if the column is empty, and prefix this string
with a separator otherwise. I'm still having problems in naming that
function. How about:

col_append_str_in_list(column_info *cinfo, gint column_id, const gchar
*list_separator, const gchar *str)
col_append_fstr_in_list(column_info *cinfo, gint column_id, const
gchar *list_separator, const gchar *format, ...)

Maybe we can define a default list separator string: ", ".
The implementation is straightforward and is almost a copy of the
col_append_str() and col_append_fstr() methods.

Any comments?

Regards,

Olivier


_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to