#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
#include <glib.h>
#include "ftp.h"
#include "util.h"
#include "libuau.h"
#include "error.h"
Go to the source code of this file.
Functions | |
size_t | callback (void *ptr, size_t size, size_t nmemb, void *data) |
gboolean | lutil_ftp_downloadToFile (const char *url, const char *downloadTo) |
GString * | lutil_ftp_getURL (const char *url) |
void | lutil_ftp_setCallbackFunc (AProgressCallback callback) |
void | lutil_ftp_resetCallbackFunc (void) |
Variables | |
AProgressCallback | downloadCallback_global = NULL |
|
Definition at line 144 of file ftp.c. References AData::data, and AData::size. Referenced by lutil_ftp_getURL(), and lutil_ftp_setCallbackFunc(). |
|
Definition at line 50 of file ftp.c. References DBUGOUT, downloadCallback_global, and ERROR. Referenced by luau_net_downloadUpdate(). |
|
Definition at line 91 of file ftp.c. References callback(), AData::data, DBUGOUT, ERROR, and AData::size. Referenced by luau_net_queryServer(). |
|
Definition at line 137 of file ftp.c. References downloadCallback_global. Referenced by luau_resetProgressCallback(). |
|
Definition at line 132 of file ftp.c. References callback(), and downloadCallback_global. Referenced by luau_registerProgressCallback(). |
|
Definition at line 45 of file ftp.c. Referenced by lutil_ftp_downloadToFile(), lutil_ftp_resetCallbackFunc(), and lutil_ftp_setCallbackFunc(). |