aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dfilter/.editorconfig57
-rw-r--r--epan/dfilter/Makefile.am1
-rw-r--r--epan/ftypes/.editorconfig41
-rw-r--r--epan/ftypes/Makefile.am1
-rw-r--r--epan/nghttp2/.editorconfig8
-rw-r--r--epan/nghttp2/Makefile.am1
-rw-r--r--epan/wslua/.editorconfig8
-rw-r--r--epan/wslua/Makefile.am1
8 files changed, 118 insertions, 0 deletions
diff --git a/epan/dfilter/.editorconfig b/epan/dfilter/.editorconfig
new file mode 100644
index 0000000000..d8f905b8ac
--- /dev/null
+++ b/epan/dfilter/.editorconfig
@@ -0,0 +1,57 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[dfilter-macro.[ch]]
+indent_style = tab
+indent_size = tab
+
+[dfilter.[ch]]
+indent_style = tab
+indent_size = tab
+
+[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-integer.[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
diff --git a/epan/dfilter/Makefile.am b/epan/dfilter/Makefile.am
index 929b7230d3..d4e2f1188a 100644
--- a/epan/dfilter/Makefile.am
+++ b/epan/dfilter/Makefile.am
@@ -67,6 +67,7 @@ libdfilter_la_LIBADD = libdfilter_generated.la
libdfilter_la_DEPENDENCIES = libdfilter_generated.la
EXTRA_DIST = \
+ .editorconfig \
$(GENERATOR_FILES) \
Makefile.common \
Makefile.nmake \
diff --git a/epan/ftypes/.editorconfig b/epan/ftypes/.editorconfig
new file mode 100644
index 0000000000..97563d51ee
--- /dev/null
+++ b/epan/ftypes/.editorconfig
@@ -0,0 +1,41 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[ftype-bytes.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-integer.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-ipv4.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-ipv6.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-none.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-string.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-time.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftype-tvbuff.[ch]]
+indent_style = tab
+indent_size = tab
+
+[ftypes.[ch]]
+indent_style = tab
+indent_size = tab
diff --git a/epan/ftypes/Makefile.am b/epan/ftypes/Makefile.am
index fd5f0b90bb..a10d1b2c90 100644
--- a/epan/ftypes/Makefile.am
+++ b/epan/ftypes/Makefile.am
@@ -37,6 +37,7 @@ MAINTAINERCLEANFILES = \
libftypes_la_SOURCES = $(NONGENERATED_C_FILES) $(NONGENERATED_HEADER_FILES)
EXTRA_DIST = \
+ .editorconfig \
Makefile.common \
Makefile.nmake \
CMakeLists.txt
diff --git a/epan/nghttp2/.editorconfig b/epan/nghttp2/.editorconfig
new file mode 100644
index 0000000000..2c2a17d45e
--- /dev/null
+++ b/epan/nghttp2/.editorconfig
@@ -0,0 +1,8 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[*.[ch]]
+indent_size = 2
diff --git a/epan/nghttp2/Makefile.am b/epan/nghttp2/Makefile.am
index 78a02a8c44..cb82795f97 100644
--- a/epan/nghttp2/Makefile.am
+++ b/epan/nghttp2/Makefile.am
@@ -42,6 +42,7 @@ libnghttp2_la_SOURCES = \
$(LIBNGHTTP2_INCLUDES)
EXTRA_DIST = \
+ .editorconfig \
Makefile.common \
Makefile.nmake \
README.nghttp2 \
diff --git a/epan/wslua/.editorconfig b/epan/wslua/.editorconfig
new file mode 100644
index 0000000000..a38057ed7e
--- /dev/null
+++ b/epan/wslua/.editorconfig
@@ -0,0 +1,8 @@
+#
+# Editor configuration
+#
+# http://editorconfig.org/
+#
+
+[wslua_struct.[ch]]
+indent_size = 2
diff --git a/epan/wslua/Makefile.am b/epan/wslua/Makefile.am
index 48b20925c1..f003269045 100644
--- a/epan/wslua/Makefile.am
+++ b/epan/wslua/Makefile.am
@@ -95,6 +95,7 @@ MAINTAINERCLEANFILES = \
declare_wslua.h
EXTRA_DIST = \
+ .editorconfig \
declare_wslua.h \
lua_bitop.h \
lrexlib.h \