Defines | Functions
chkspeed.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <curl/curl.h>
Include dependency graph for chkspeed.c:

Go to the source code of this file.

Defines

#define CHKSPEED_VERSION   "1.0"
#define URL_100M   URL_BASE "file_100M.bin"
#define URL_10M   URL_BASE "file_10M.bin"
#define URL_1M   URL_BASE "file_1M.bin"
#define URL_20M   URL_BASE "file_20M.bin"
#define URL_2M   URL_BASE "file_2M.bin"
#define URL_50M   URL_BASE "file_50M.bin"
#define URL_5M   URL_BASE "file_5M.bin"
#define URL_BASE   "http://speedtest.your.domain/"

Functions

int main (int argc, char *argv[])
static size_t WriteCallback (void *ptr, size_t size, size_t nmemb, void *data)

Define Documentation

#define CHKSPEED_VERSION   "1.0"

Definition at line 52 of file chkspeed.c.

#define URL_100M   URL_BASE "file_100M.bin"

Definition at line 50 of file chkspeed.c.

#define URL_10M   URL_BASE "file_10M.bin"

Definition at line 47 of file chkspeed.c.

#define URL_1M   URL_BASE "file_1M.bin"

Definition at line 44 of file chkspeed.c.

#define URL_20M   URL_BASE "file_20M.bin"

Definition at line 48 of file chkspeed.c.

#define URL_2M   URL_BASE "file_2M.bin"

Definition at line 45 of file chkspeed.c.

#define URL_50M   URL_BASE "file_50M.bin"

Definition at line 49 of file chkspeed.c.

#define URL_5M   URL_BASE "file_5M.bin"

Definition at line 46 of file chkspeed.c.

#define URL_BASE   "http://speedtest.your.domain/"

Definition at line 43 of file chkspeed.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 63 of file chkspeed.c.

static size_t WriteCallback ( void *  ptr,
size_t  size,
size_t  nmemb,
void *  data 
) [static]

Definition at line 54 of file chkspeed.c.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:07