Vuo  0.5.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
VuoUrl.c File Reference

Description

VuoUrl implementation.

Classes

struct  VuoUrl_curlBuffer
 A memory buffer, filled by VuoUrl_curlCallback(). More...
 

Functions

 __attribute__ ((constructor))
 Initializes the cURL library.
 
bool VuoUrl_get (const char *url, void **data, unsigned int *dataLength)
 Receives the data at the specified url.
 

Class Documentation

struct VuoUrl_curlBuffer
Class Members
char * memory
size_t size

Function Documentation

__attribute__ ( (constructor)  )

Initializes the cURL library.

bool VuoUrl_get ( const char *  url,
void **  data,
unsigned int *  dataLength 
)

Receives the data at the specified url.

Returns
true upon success, false upon failure.
Todo:
Better error handling per https://b33p.net/kosada/node/4724