Vuo  0.4.7
 All Classes Files Functions Variables Typedefs Enumerations Enumerator 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.

Todo:
when https://b33p.net/kosada/node/4018 is fixed, move dependencies from vuo.image.get.c and vuo.scene.get.c.
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