file.h
Go to the documentation of this file.
1 
9 #ifndef FILE_H_
10 #define FILE_H_
11 
12 #include "item.h"
13 #include "mcl_core/mcl_time_util.h"
14 
18 typedef struct file_payload_t
19 {
20  char *creation_date;
21  char *local_path;
22  char *remote_name;
23  char *type;
27 
31 typedef struct mcl_file_t
32 {
35 } file_t;
36 
49 
50 extern const char *mcl_file_versions[];
51 
52 #endif //FILE_H_
#define MCL_LOCAL
size_t mcl_size_t
file_payload_t * payload
Payload of file.
Definition: file.h:34
mcl_int32_t mcl_error_t
char * local_path
Local path of file.
Definition: file.h:21
Definition: file.h:31
Item module header file.
char * type
Type of file.
Definition: file.h:23
const char * mcl_file_versions[]
Definition: file.c:15
char * remote_name
Remote name of file.
Definition: file.h:22
mcl_size_t size
Size of file.
Definition: file.h:24
mcl_item_t item_base
Item base of file.
Definition: file.h:33
MCL_LOCAL mcl_error_t file_validate(file_t *file)
Definition: file.c:121
struct mcl_file_t mcl_file_t
Definition: mcl_file.h:34
void * file_descriptor
Descriptor of file.
Definition: file.h:25
char * creation_date
Creation date of file.
Definition: file.h:20