You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
650 B
21 lines
650 B
#ifndef __DATA_BINDER_REPORT_AUX_HEADER__
|
|
#define __DATA_BINDER_REPORT_AUX_HEADER__
|
|
|
|
#include "../../components/base/basicFunctionality.h"
|
|
#include "dataBinder_structures.h"
|
|
|
|
typedef struct S_REPORT_DIRINFO
|
|
{
|
|
char YEAR[5];
|
|
char MONTH[3];
|
|
char DAY[3];
|
|
time_t ts;
|
|
} REPORT_DIRINFO;
|
|
|
|
uint32_t getTsFromRDF(REPORT_DIRINFO & RDF);
|
|
bool checkRDFDir(CSTR basePath, REPORT_DIRINFO & RDF, bool recreate = false, uid_t uid = -1, gid_t gid = -1, mode_t mode = STORAGE_DIR_MODE);
|
|
bool deleteRDFDir(CSTR Base, REPORT_DIRINFO & RDF);
|
|
REPORT_DIRINFO * getReportDirInfo(uint32_t id);
|
|
void fillRDF(uint32_t ts, REPORT_DIRINFO & RDF);
|
|
|
|
#endif
|