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.
20 lines
724 B
20 lines
724 B
#ifndef __DATA_BINDER_REPORT_AUX_HEADER__
|
|
#define __DATA_BINDER_REPORT_AUX_HEADER__
|
|
|
|
#include "dataBinder_structures.h"
|
|
#include "../../components/base/basicFunctionality.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
|