11#ifndef __STAT_TAP_UI_H__
12#define __STAT_TAP_UI_H__
14#include "ws_symbol_export.h"
49typedef void (* stat_tap_init_cb)(
const char *,
void*);
53 const char *cli_string;
54 stat_tap_init_cb tap_init_cb;
66} stat_tap_table_item_enum;
70 stat_tap_table_item_enum type;
75 const char* string_value;
85 const char* string_value;
100 stat_tap_table_item_enum type;
101 tap_alignment_type align;
102 const char* column_name;
103 const char* field_format;
114 unsigned num_elements;
125 const char *tap_name;
126 const char *cli_string;
128 tap_packet_cb packet_func;
131 void (* stat_filter_check_cb)(
const char *opt_arg,
const char **filter,
char** err);
157WS_DLL_PUBLIC
void stat_tap_iterate_tables(
wmem_foreach_func func,
void *user_data);
158WS_DLL_PUBLIC
void stat_tap_get_filter(
stat_tap_table_ui* new_stat,
const char *opt_arg,
const char **filter,
char** err);
159WS_DLL_PUBLIC
stat_tap_table* stat_tap_init_table(
const char *name,
int num_fields,
int num_elements,
160 const char *filter_string);
181WS_DLL_PUBLIC
bool process_stat_cmd_arg(
const char *optstr);
183WS_DLL_PUBLIC
void list_stat_cmd_args(
void);
185WS_DLL_PUBLIC
void start_requested_stats(
void);
bool(* wmem_foreach_func)(const void *key, void *value, void *userdata)
Definition wmem_tree.h:247
enum register_stat_group_e register_stat_group_t
WS_DLL_PUBLIC void register_stat_tap_ui(stat_tap_ui *ui, void *userdata)
Definition stat_tap_ui.c:60
struct _stat_data_t stat_data_t
WS_DLL_PUBLIC void free_stat_tables(stat_tap_table_ui *new_stat)
Definition stat_tap_ui.c:277
Definition stat_tap_ui.h:143
void * user_data
Definition stat_tap_ui.h:145
Definition stat_tap_ui.h:69
Definition stat_tap_ui.h:99
Definition stat_tap_ui.h:122
Definition stat_tap_ui.h:110
const char * filter_string
Definition stat_tap_ui.h:112
Definition stat_tap_ui.h:50
Definition stat_tap_ui.h:38