diff options
author | Slava Monich <slava.monich@jolla.com> | 2017-11-27 12:31:39 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2017-11-27 09:59:21 -0600 |
commit | 399cb61d1f4afe6a7fcf33e6bfe1cc0c88765a0e (patch) | |
tree | 8f9fec41b8494e9d51182ba0d69b264589fe0383 /src/storage.c | |
parent | 307ea2fd498aa967cc2befc6a67aea52ecc5ecc5 (diff) | |
download | ofono-399cb61d1f4afe6a7fcf33e6bfe1cc0c88765a0e.tar.gz |
storage: Implement ofono_config_dir and ofono_storage_dir
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/storage.c b/src/storage.c index bde0bea6..9b7bfbc7 100644 --- a/src/storage.c +++ b/src/storage.c @@ -23,6 +23,8 @@ #include <config.h> #endif +#include <ofono/storage.h> + #define _GNU_SOURCE #include <string.h> #include <stdarg.h> @@ -35,6 +37,16 @@ #include "storage.h" +const char *ofono_config_dir(void) +{ + return CONFIGDIR; +} + +const char *ofono_storage_dir(void) +{ + return STORAGEDIR; +} + int create_dirs(const char *filename, const mode_t mode) { struct stat st; |