mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
Allow file upload
- add upload/simple - add upload/poll_upload - add "put" command to mfshell - add http POST method
This commit is contained in:
@@ -95,4 +95,13 @@ int mfconn_api_device_get_patch(mfconn * conn, mfpatch * patch,
|
||||
uint64_t source_revision,
|
||||
uint64_t target_revision);
|
||||
|
||||
int mfconn_api_upload_simple(mfconn * conn, const char *folderkey,
|
||||
const char *file_path,
|
||||
const char *file_name,
|
||||
char **upload_key);
|
||||
|
||||
int mfconn_api_upload_poll_upload(mfconn * conn,
|
||||
const char *upload_key,
|
||||
int *status, int *fileerror);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user