18#ifndef ATSC_CORE_CONFIG_API_H_
19#define ATSC_CORE_CONFIG_API_H_
29#include <sys/statvfs.h>
32#include "atsc_core_utils_json.h"
33#include "atsc_core_utils_network.h"
42#define NRT_MINIMAL_MB_SPACE 200
49 int32_t sKeys[ATSCCORE_FRONTEND_MAX];
50 int32_t sDemod[ATSCCORE_FRONTEND_MAX];
51 int32_t sFreq[ATSCCORE_FRONTEND_MAX];
52 int32_t sPlpId[ATSCCORE_FRONTEND_MAX];
53 int32_t sRegionId[ATSCCORE_FRONTEND_MAX];
Definition atsc_core_config_api.h:59
uint64_t InternalStorageSpace(void)
internal storage location
uint64_t ExternalStorageSpace(void)
external storage location
int32_t LoadAPPMode(sAppSettings_t *pEnv)
load application mode
int32_t SaveAPPMode(sAppSettings_t sEnv)
To save Application mode.
bool IsWriteSpace(uint32_t write_size)
location to write space
std::string GetFileStoragePath(void)
read files location
~CCoreConfig()
Destructor for CCoreConfig.
int32_t EraseOldFiles(const char *pFolder, int32_t iOldSec)
To save Application mode.
uint64_t GetMountFsAvailableSize(char *szPath)
read available mount space
CCoreConfig()
Constructor of CCoreConfig.
int32_t Load(sAppSettings_t *pSettings)
To load application settings.
std::string GetESGPath(void)
read esg location
int32_t Save(sAppSettings_t sEnv)
Application settings.
Definition atsc_core_config_api.h:47
int32_t iAppMode
Definition atsc_core_config_api.h:48