added the framework for supporting new link types in the file-get-links API

This commit is contained in:
root
2014-12-27 22:26:24 -06:00
parent 59e7fe33f9
commit 53e85e0de1
7 changed files with 88 additions and 12 deletions

View File

@@ -334,7 +334,9 @@ static int filecache_download_file(const char *filecache_path,
remote_revision);
file = file_alloc();
retval = mfconn_api_file_get_links(conn, file, (char *)quickkey);
retval = mfconn_api_file_get_links(conn, file,
(char *)quickkey,
LINK_TYPE_DIRECT_DOWNLOAD);
if (retval != 0) {
fprintf(stderr, "mfconn_api_file_get_links failed\n");