Functions | Variables
unit1308.c File Reference
#include "curlcheck.h"
#include <curl/curl.h>
Include dependency graph for unit1308.c:

Go to the source code of this file.

Functions

 curl_formfree (post)
 fail_unless (rc==0,"curl_formadd returned error")
 fail_unless (post==last,"post and last weren't the same")
 fail_unless (rc==0,"curl_formget returned error")
 fail_unless (total_size==486,"curl_formget got wrong size back")
static size_t print_httppost_callback (void *arg, const char *buf, size_t len)
static CURLcode unit_setup (void)
static void unit_stop (void)

Variables

char buffer [] = "test buffer"
struct curl_httppostlast = NULL
struct curl_httppostpost = NULL
UNITTEST_START int rc
size_t total_size = 0

Function Documentation

fail_unless ( rc  = =0,
"curl_formadd returned error"   
)
fail_unless ( post  = =last,
"post and last weren't the same"   
)
fail_unless ( rc  = =0,
"curl_formget returned error"   
)
fail_unless ( total_size  = =486,
"curl_formget got wrong size back"   
)
static size_t print_httppost_callback ( void *  arg,
const char *  buf,
size_t  len 
) [static]

Definition at line 36 of file unit1308.c.

static CURLcode unit_setup ( void  ) [static]

Definition at line 26 of file unit1308.c.

static void unit_stop ( void  ) [static]

Definition at line 31 of file unit1308.c.


Variable Documentation

char buffer[] = "test buffer"

Definition at line 48 of file unit1308.c.

struct curl_httppost* last = NULL

Definition at line 46 of file unit1308.c.

post = NULL

Definition at line 45 of file unit1308.c.

rc
Initial value:
 curl_formadd(&post, &last, CURLFORM_COPYNAME, "name",
                    CURLFORM_COPYCONTENTS, "content", CURLFORM_END)

Definition at line 44 of file unit1308.c.

size_t total_size = 0

Definition at line 47 of file unit1308.c.



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