aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-06 17:41:38 +0000
committerJoão Valverde <j@v6e.pt>2016-03-08 10:46:35 +0000
commit5f8003e949d36f627dd7e46d98d32ef93cea333b (patch)
tree17501d0aefdd9e0ed1f337466359db3baae180e8 /ui/cli
parente22b4008c660dde31e67b4017b69e882a75ca3ef (diff)
Add EditorConfig settings for most C files
Change-Id: I02e6d71290bbdf7504437b0d670955b3686b6b52 Reviewed-on: https://code.wireshark.org/review/14360 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/cli')
-rw-r--r--ui/cli/.editorconfig87
-rw-r--r--ui/cli/Makefile.am1
2 files changed, 88 insertions, 0 deletions
diff --git a/ui/cli/.editorconfig b/ui/cli/.editorconfig
new file mode 100644
index 0000000000..e66a590bea
--- /dev/null
+++ b/ui/cli/.editorconfig
@@ -0,0 +1,87 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[tap-camelsrt.[ch]]
+indent_size = 2
+
+[tap-comparestat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-diameter-avp.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-endpoints.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-follow.[ch]]
+indent_size = 2
+
+[tap-hosts.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-httpstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-iousers.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-protocolinfo.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-protohierstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rpcprogs.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rtd.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-rtspstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sctpchunkstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-simple_stattable.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sipstat.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-smbsids.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-srt.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-stats_tree.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-sv.[ch]]
+indent_style = tab
+indent_size = tab
+
+[tap-wspstat.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/ui/cli/Makefile.am b/ui/cli/Makefile.am
index 4e723bd49b..74b6473ace 100644
--- a/ui/cli/Makefile.am
+++ b/ui/cli/Makefile.am
@@ -82,6 +82,7 @@ checkapi-todo:
$(TSHARK_TAP_SRC)
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
Makefile.common \
Makefile.nmake