11 #ifndef __COLUMN_UTILS_H__ 12 #define __COLUMN_UTILS_H__ 17 #include "ws_symbol_export.h" 107 WS_DLL_PUBLIC
void col_cleanup(
column_info *cinfo);
119 WS_DLL_PUBLIC
void col_fill_in_frame_data(
const frame_data *fd,
column_info *cinfo,
const gint col, gboolean
const fill_col_exprs);
125 WS_DLL_PUBLIC
void col_fill_in(
packet_info *pinfo,
const gboolean fill_col_exprs,
const gboolean fill_fd_colums);
133 WS_DLL_PUBLIC
void col_fill_in_error(
column_info *cinfo,
frame_data *fdata,
const gboolean fill_col_exprs,
const gboolean fill_fd_colums);
139 WS_DLL_PUBLIC gboolean col_data_changed(
void);
149 WS_DLL_PUBLIC gboolean col_get_writable(
column_info *cinfo,
const gint col);
157 WS_DLL_PUBLIC
void col_set_writable(
column_info *cinfo,
const gint col,
const gboolean
writable);
168 WS_DLL_PUBLIC
void col_set_fence(
column_info *cinfo,
const gint col);
178 WS_DLL_PUBLIC
void col_clear_fence(
column_info *cinfo,
const gint col);
187 WS_DLL_PUBLIC
const gchar *col_get_text(
column_info *cinfo,
const gint col);
194 WS_DLL_PUBLIC
void col_clear(
column_info *cinfo,
const gint col);
204 WS_DLL_PUBLIC
void col_set_str(
column_info *cinfo,
const gint col,
const gchar * str);
212 WS_DLL_PUBLIC
void col_add_str(
column_info *cinfo,
const gint col,
const gchar *str);
215 #define COL_ADD_LSTR_TERMINATOR (const char *) -1 216 WS_DLL_PUBLIC
void col_add_lstr(
column_info *cinfo,
const gint el,
const gchar *str, ...);
227 WS_DLL_PUBLIC
void col_add_fstr(
column_info *cinfo,
const gint col,
const gchar *format, ...)
243 gboolean have_field_extractors(
void);
247 gboolean col_has_time_fmt(
column_info *cinfo, const gint col);
250 gboolean col_based_on_frame_data(
column_info *cinfo, const gint col);
258 WS_DLL_PUBLIC
void col_append_str(
column_info *cinfo, const gint col, const gchar *str);
268 WS_DLL_PUBLIC
void col_append_str_uint(
column_info *cinfo, const gint col, const gchar *abbrev, guint32 val, const gchar *sep);
278 WS_DLL_PUBLIC
void col_append_ports(
column_info *cinfo, const gint col, port_type typ, guint16 src, guint16 dst);
288 WS_DLL_PUBLIC
void col_append_frame_number(
packet_info *pinfo, const gint col, const gchar *fmt_str, guint frame_num);
294 WS_DLL_PUBLIC
void col_append_lstr(
column_info *cinfo, const gint el, const gchar *str, ...);
305 WS_DLL_PUBLIC
void col_append_fstr(
column_info *cinfo, const gint col, const gchar *format, ...)
315 WS_DLL_PUBLIC
void col_prepend_fstr(
column_info *cinfo, const gint col, const gchar *format, ...)
326 WS_DLL_PUBLIC
void col_prepend_fence_fstr(
column_info *cinfo, const gint col, const gchar *format, ...)
338 WS_DLL_PUBLIC
void col_append_sep_str(
column_info *cinfo, const gint col, const gchar *sep,
351 WS_DLL_PUBLIC
void col_append_sep_fstr(
column_info *cinfo, const gint col, const gchar *sep,
352 const gchar *format, ...)
365 WS_DLL_PUBLIC
void col_set_time(
column_info *cinfo, const
int col,
366 const
nstime_t *ts, const
char *fieldname);
gboolean writable
Definition: column-info.h:58
Definition: packet_info.h:44
Definition: column-info.h:51
Definition: frame_data.h:53
Definition: epan_dissect.h:28
gint num_cols
Definition: column-info.h:53