summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-02-24 17:38:24 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-24 17:38:24 +0100
commitff57b87cacfe0962d7c92c9b3478cfdab8b3f331 (patch)
tree5f2c575bc3e208709e18742974b74785d2764da9 /include
parent31e4ba7238dee746cdbab72c805e8271782a2730 (diff)
downloadneard-ff57b87cacfe0962d7c92c9b3478cfdab8b3f331.tar.gz
neard-ff57b87cacfe0962d7c92c9b3478cfdab8b3f331.tar.bz2
neard-ff57b87cacfe0962d7c92c9b3478cfdab8b3f331.zip
main: Support for general settings
main.conf will be neard settings file.
Diffstat (limited to 'include')
-rw-r--r--include/setting.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/setting.h b/include/setting.h
new file mode 100644
index 0000000..8f7a26a
--- /dev/null
+++ b/include/setting.h
@@ -0,0 +1,35 @@
+/*
+ *
+ * neard - Near Field Communication manager
+ *
+ * Copyright (C) 2012 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef __NEAR_SETTING_H
+#define __NEAR_SETTING_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+near_bool_t near_setting_get_bool(const char *key);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __NEAR_SETTING_H */