storage: Implement ofono_config_dir and ofono_storage_dir

This commit is contained in:
Slava Monich 2017-11-27 12:31:39 +02:00 committed by Denis Kenzior
parent 307ea2fd49
commit 399cb61d1f
1 changed files with 12 additions and 0 deletions

View File

@ -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;