Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
sendf.c File Reference
#include "setup.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <errno.h>
#include <curl/curl.h>
#include "urldata.h"
#include "sendf.h"
#include "connect.h"
#include <curl/mprintf.h>
#include <string.h>

Go to the source code of this file.


#define _MPRINTF_REPLACE   /* use the internal *printf() functions */


struct curl_slistcurl_slist_append (struct curl_slist *list, const char *data)
void curl_slist_free_all (struct curl_slist *list)
void Curl_infof (struct SessionHandle *data, const char *fmt,...)
void Curl_failf (struct SessionHandle *data, const char *fmt,...)
CURLcode Curl_sendf (curl_socket_t sockfd, struct connectdata *conn, const char *fmt,...)
CURLcode Curl_write (struct connectdata *conn, curl_socket_t sockfd, void *mem, size_t len, ssize_t *written)
CURLcode Curl_client_write (struct SessionHandle *data, int type, char *ptr, size_t len)
int Curl_read (struct connectdata *conn, curl_socket_t sockfd, char *buf, size_t buffersize, ssize_t *n)
int Curl_debug (struct SessionHandle *data, curl_infotype type, char *ptr, size_t size)

Macro Definition Documentation

#define _MPRINTF_REPLACE   /* use the internal *printf() functions */

Definition at line 48 of file sendf.c.

Function Documentation

CURLcode Curl_client_write ( struct SessionHandle data,
int  type,
char *  ptr,
size_t  len 

Definition at line 319 of file sendf.c.

int Curl_debug ( struct SessionHandle data,
curl_infotype  type,
char *  ptr,
size_t  size 

Definition at line 439 of file sendf.c.

void Curl_failf ( struct SessionHandle data,
const char *  fmt,

Definition at line 146 of file sendf.c.

void Curl_infof ( struct SessionHandle data,
const char *  fmt,

Definition at line 130 of file sendf.c.

int Curl_read ( struct connectdata conn,
curl_socket_t  sockfd,
char *  buf,
size_t  buffersize,
ssize_t n 

Definition at line 362 of file sendf.c.

CURLcode Curl_sendf ( curl_socket_t  sockfd,
struct connectdata conn,
const char *  fmt,

Definition at line 172 of file sendf.c.

struct curl_slist* curl_slist_append ( struct curl_slist list,
const char *  data 

Definition at line 82 of file sendf.c.

void curl_slist_free_all ( struct curl_slist list)

Definition at line 108 of file sendf.c.

CURLcode Curl_write ( struct connectdata conn,
curl_socket_t  sockfd,
void mem,
size_t  len,
ssize_t written 

Definition at line 221 of file sendf.c.