include: Add storage.h

To expose ofono directories to dynamically loadable plugins.
This commit is contained in:
Slava Monich 2017-11-27 12:31:38 +02:00 committed by Denis Kenzior
parent 22c625080e
commit 307ea2fd49
2 changed files with 34 additions and 1 deletions

View File

@ -22,7 +22,8 @@ pkginclude_HEADERS = include/log.h include/plugin.h include/history.h \
include/private-network.h include/cdma-netreg.h \
include/cdma-provision.h include/handsfree.h \
include/handsfree-audio.h include/siri.h \
include/netmon.h include/lte.h include/ims.h
include/netmon.h include/lte.h include/ims.h \
include/storage.h
nodist_pkginclude_HEADERS = include/version.h

32
include/storage.h Normal file
View File

@ -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 */