aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorStefan Pöschel <github@basicmaster.de>2017-02-04 01:50:37 +0100
committerStefan Pöschel <github@basicmaster.de>2017-02-04 01:50:37 +0100
commit714a1cf68c0b4b8f544273375df4aa2147e6ae16 (patch)
treeefd50476fa3295717c395fc0a6f8aea1c6240d6e /src/common.h
parentf79f7edd2b532418e9e87f1f0370d11eefb34a65 (diff)
downloadODR-PadEnc-714a1cf68c0b4b8f544273375df4aa2147e6ae16.tar.gz
ODR-PadEnc-714a1cf68c0b4b8f544273375df4aa2147e6ae16.tar.bz2
ODR-PadEnc-714a1cf68c0b4b8f544273375df4aa2147e6ae16.zip
Add common header
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
new file mode 100644
index 0000000..ca7e728
--- /dev/null
+++ b/src/common.h
@@ -0,0 +1,36 @@
+/*
+ Copyright (C) 2017 Stefan Pöschel (http://opendigitalradio.org)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+/*!
+ \file common.h
+ \brief Includes common settings/includes/etc.
+
+ \author Stefan Pöschel <odr@basicmaster.de>
+*/
+
+#ifndef COMMON_H_
+#define COMMON_H_
+
+// include settings by configure
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+//#define DEBUG
+
+extern int verbose;
+
+#endif /* COMMON_H_ */