mUPnP for C
http_response.c File Reference
#include <mupnp/http/http.h>
#include <mupnp/util/list.h>
#include <mupnp/util/log.h>

Functions

mUpnpHttpResponsemupnp_http_response_new ()
 
void mupnp_http_response_delete (mUpnpHttpResponse *httpRes)
 
void mupnp_http_response_clear (mUpnpHttpResponse *httpRes)
 
void mupnp_http_response_setversion (mUpnpHttpResponse *httpRes, const char *value)
 
char * mupnp_http_response_getversion (mUpnpHttpResponse *httpRes)
 
void mupnp_http_response_setstatuscode (mUpnpHttpResponse *httpRes, int value)
 
int mupnp_http_response_getstatuscode (mUpnpHttpResponse *httpRes)
 
void mupnp_http_response_setreasonphrase (mUpnpHttpResponse *httpRes, const char *value)
 
char * mupnp_http_response_getreasonphrase (mUpnpHttpResponse *httpRes)
 
bool mupnp_http_response_read (mUpnpHttpResponse *httpRes, mUpnpSocket *sock, bool onlyHeader)
 
void mupnp_http_response_copy (mUpnpHttpResponse *destHttpRes, mUpnpHttpResponse *srcHttpRes)
 
void mupnp_http_response_print (mUpnpHttpResponse *httpRes)
 

Function Documentation

◆ mupnp_http_response_clear()

void mupnp_http_response_clear ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_copy()

void mupnp_http_response_copy ( mUpnpHttpResponse * destHttpRes,
mUpnpHttpResponse * srcHttpRes )

◆ mupnp_http_response_delete()

void mupnp_http_response_delete ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_getreasonphrase()

char * mupnp_http_response_getreasonphrase ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_getstatuscode()

int mupnp_http_response_getstatuscode ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_getversion()

char * mupnp_http_response_getversion ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_new()

mUpnpHttpResponse * mupnp_http_response_new ( void )

◆ mupnp_http_response_print()

void mupnp_http_response_print ( mUpnpHttpResponse * httpRes)

◆ mupnp_http_response_read()

bool mupnp_http_response_read ( mUpnpHttpResponse * httpRes,
mUpnpSocket * sock,
bool onlyHeader )

◆ mupnp_http_response_setreasonphrase()

void mupnp_http_response_setreasonphrase ( mUpnpHttpResponse * httpRes,
const char * value )

◆ mupnp_http_response_setstatuscode()

void mupnp_http_response_setstatuscode ( mUpnpHttpResponse * httpRes,
int value )

◆ mupnp_http_response_setversion()

void mupnp_http_response_setversion ( mUpnpHttpResponse * httpRes,
const char * value )