forked from osmocom/wireshark
dfilter: Fix EditorConfig settings
This commit is contained in:
parent
54d8627c9a
commit
6a0129a0e3
|
@ -4,50 +4,16 @@
|
|||
# https://editorconfig.org/
|
||||
#
|
||||
|
||||
[dfilter-macro.[ch]]
|
||||
# C
|
||||
[*.{c,h}]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
tab_width = 8
|
||||
|
||||
[dfilter.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
[drange.[ch]]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[dfvm.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[gencode.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[semcheck.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-function.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-pointer.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-range.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-set.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-string.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[sttype-test.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
|
||||
[syntax-tree.[ch]]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
[dfunctions.[ch]]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
|
@ -24,25 +24,25 @@
|
|||
*/
|
||||
|
||||
typedef enum {
|
||||
DRANGE_NODE_END_T_UNINITIALIZED,
|
||||
DRANGE_NODE_END_T_LENGTH,
|
||||
DRANGE_NODE_END_T_OFFSET,
|
||||
DRANGE_NODE_END_T_TO_THE_END
|
||||
DRANGE_NODE_END_T_UNINITIALIZED,
|
||||
DRANGE_NODE_END_T_LENGTH,
|
||||
DRANGE_NODE_END_T_OFFSET,
|
||||
DRANGE_NODE_END_T_TO_THE_END
|
||||
} drange_node_end_t;
|
||||
|
||||
typedef struct _drange_node {
|
||||
gint start_offset;
|
||||
gint length;
|
||||
gint end_offset;
|
||||
drange_node_end_t ending;
|
||||
gint start_offset;
|
||||
gint length;
|
||||
gint end_offset;
|
||||
drange_node_end_t ending;
|
||||
} drange_node;
|
||||
|
||||
typedef struct _drange {
|
||||
GSList* range_list;
|
||||
gboolean has_total_length;
|
||||
gint total_length;
|
||||
gint min_start_offset;
|
||||
gint max_start_offset;
|
||||
GSList* range_list;
|
||||
gboolean has_total_length;
|
||||
gint total_length;
|
||||
gint min_start_offset;
|
||||
gint max_start_offset;
|
||||
} drange_t;
|
||||
|
||||
/* drange_node constructor */
|
||||
|
|
Loading…
Reference in New Issue