remove the _t postfix from type names because POSIX reserves types ending in _t

This commit is contained in:
josch
2014-09-19 23:13:29 +02:00
parent e0ee1e5f8f
commit 4b2563d800
34 changed files with 294 additions and 294 deletions

View File

@@ -29,9 +29,9 @@
#include "../../mfapi/apicalls.h"
int
mfshell_cmd_get(mfshell_t *mfshell, int argc, char **argv)
mfshell_cmd_get(mfshell *mfshell, int argc, char **argv)
{
file_t *file;
mffile *file;
int len;
int retval;
ssize_t bytes_read;
@@ -54,8 +54,8 @@ mfshell_cmd_get(mfshell_t *mfshell, int argc, char **argv)
file = file_alloc();
// get file name
retval = mfconn_api_file_get_info(mfshell->mfconn,file,(char*)quickkey);
mfconn_update_secret_key(mfshell->mfconn);
retval = mfconn_api_file_get_info(mfshell->conn,file,(char*)quickkey);
mfconn_update_secret_key(mfshell->conn);
if(retval == -1)
{
@@ -64,8 +64,8 @@ mfshell_cmd_get(mfshell_t *mfshell, int argc, char **argv)
}
// request a direct download (streaming) link
retval = mfconn_api_file_get_links(mfshell->mfconn,file,(char*)quickkey);
mfconn_update_secret_key(mfshell->mfconn);
retval = mfconn_api_file_get_links(mfshell->conn,file,(char*)quickkey);
mfconn_update_secret_key(mfshell->conn);
if(retval == -1)
{