Skip to content
Snippets Groups Projects
Commit 17e41560 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Rename the METADATA and metadata properties to AUXDATA and auxdata

parent 22d7343f
No related branches found
No related tags found
No related merge requests found
Pipeline #5100 failed
......@@ -632,7 +632,7 @@ typedef struct { /* Message or File */
};
union {
uchar* tail; /* Message body tail (optional) */
char* metadata; /* File metadata */
char* auxdata; /* File aux-data (JSON) */
};
char* tags; /* Message tags (space-delimited) */
char* editor; /* Message editor (if known) */
......
......@@ -285,8 +285,8 @@ SMBEXPORT int smb_open_fp(smb_t*, FILE**, int share);
SMBEXPORT void smb_close_fp(FILE**);
/* New FileBase API: */
enum file_detail { file_detail_index, file_detail_normal, file_detail_extdesc, file_detail_metadata };
SMBEXPORT int smb_addfile(smb_t*, smbfile_t*, int storage, const char* extdesc, const char* metadata, const char* path);
enum file_detail { file_detail_index, file_detail_normal, file_detail_extdesc, file_detail_auxdata };
SMBEXPORT int smb_addfile(smb_t*, smbfile_t*, int storage, const char* extdesc, const char* auxdata, const char* path);
SMBEXPORT int smb_addfile_withlist(smb_t*, smbfile_t*, int storage, const char* extdesc, str_list_t, const char* path);
SMBEXPORT int smb_renewfile(smb_t*, smbfile_t*, int storage, const char* path);
SMBEXPORT int smb_getfile(smb_t*, smbfile_t*, enum file_detail);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment