Vuo  0.6.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoUrl.h File Reference

Description

VuoUrl interface.

Functions

char * VuoUrl_normalize (const char *url)
 Resolves url (which could be an absolute URL, an absolute Unix file path, or a relative Unix file path) into an absolure URL.
 
bool VuoUrl_get (const char *url, void **data, unsigned int *dataLength)
 Receives the data at the specified url.
 

Function Documentation

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
char* VuoUrl_normalize ( const char *  url)

Resolves url (which could be an absolute URL, an absolute Unix file path, or a relative Unix file path) into an absolure URL.

The caller is responsible for freeing the returned string.