summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSlava Monich <slava.monich@jolla.com>2017-11-27 12:31:38 +0200
committerDenis Kenzior <denkenz@gmail.com>2017-11-27 09:59:21 -0600
commit307ea2fd498aa967cc2befc6a67aea52ecc5ecc5 (patch)
treefe58e43bba697029bbcfb885935e73295badb45c /include
parent22c625080ed67902f64122413489a08aad10a752 (diff)
downloadofono-307ea2fd498aa967cc2befc6a67aea52ecc5ecc5.tar.gz
include: Add storage.h
To expose ofono directories to dynamically loadable plugins.
Diffstat (limited to 'include')
-rw-r--r--include/storage.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/include/storage.h b/include/storage.h
new file mode 100644
index 00000000..243eb88b
--- /dev/null
+++ b/include/storage.h
@@ -0,0 +1,32 @@
+/*
+ *
+ * oFono - Open Telephony stack for Linux
+ *
+ * Copyright (C) 2017 Jolla Ltd. 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.
+ *
+ */
+
+#ifndef __OFONO_STORAGE_H
+#define __OFONO_STORAGE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *ofono_config_dir(void);
+const char *ofono_storage_dir(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __OFONO_STORAGE_H */