mirror of git://git.sysmocom.de/ofono
storage: Implement ofono_config_dir and ofono_storage_dir
This commit is contained in:
parent
307ea2fd49
commit
399cb61d1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue