initial commit - import mediafire-shell sources

This commit is contained in:
josch
2014-09-15 20:00:05 +02:00
commit ad1fea5a78
56 changed files with 8147 additions and 0 deletions

21
cmd_whoami.c Normal file
View File

@@ -0,0 +1,21 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "strings.h"
#include "mfshell.h"
#include "private.h"
#include "command.h"
int
mfshell_cmd_whoami(mfshell_t *mfshell)
{
int retval;
retval = mfshell->user_get_info(mfshell);
mfshell->update_secret_key(mfshell);
return retval;
}