doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions | Variables
curlgtk.c File Reference
#include <stdio.h>
#include <gtk/gtk.h>
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>

Go to the source code of this file.

Functions

size_t my_write_func (void *ptr, size_t size, size_t nmemb, FILE *stream)
 
size_t my_read_func (void *ptr, size_t size, size_t nmemb, FILE *stream)
 
int my_progress_func (GtkWidget *Bar, double t, double d, double ultotal, double ulnow)
 
voidcurl_thread (void *ptr)
 
int main (int argc, char **argv)
 

Variables

GtkWidget * Bar
 

Function Documentation

void* curl_thread ( void ptr)

Definition at line 45 of file curlgtk.c.

int main ( int  argc,
char **  argv 
)

Definition at line 75 of file curlgtk.c.

int my_progress_func ( GtkWidget *  Bar,
double  t,
double  d,
double  ultotal,
double  ulnow 
)

Definition at line 32 of file curlgtk.c.

size_t my_read_func ( void ptr,
size_t  size,
size_t  nmemb,
FILE *  stream 
)

Definition at line 27 of file curlgtk.c.

size_t my_write_func ( void ptr,
size_t  size,
size_t  nmemb,
FILE *  stream 
)

Definition at line 22 of file curlgtk.c.

Variable Documentation

GtkWidget* Bar

Definition at line 20 of file curlgtk.c.