1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
enum {
cmdsize = 4096,
pathsize = 1024,
bufsize = 16,
};
typedef char byte;
struct listing {
long id, folder_id, size;
char *uuid, *filename, *upload_status, *content_type, *url;
char *created_at, *updated_at, *unlock_at, *lock_at, thumbnail_url;
char *modified_at, *mime_class, *media_entry_id, *category;
byte locked, hidden, hidden_for_user, locked_for_user;
};
typedef struct listing Listing;
struct directory {
char *context_type, updated_at, folders_url, files_url, full_name;
char *lock_at, name, *created_at, *unlock_at;
long context_id, files_count, position, id, folders_count;
long parent_folder_id;
byte hidden, hidden_for_user, locked, locked_for_users;
byte for_submissions;
};
typedef struct directory Directory;
char *upload_key;
|