All Files Functions Typedefs Enumerations Enumerator Macros Groups Pages
Getting started

Make sure you set the locale early on in your application, otherwise some media properties (e.g. title) may be encoded incorrectly.

int main(int argc, char *argv[])
setlocale(LC_ALL, "");

Start by creating a new library handle.

if (quvi_ok(q) == QUVI_FALSE) /* Check for errors. */
fprintf(stderr, "error: %s\n", quvi_errmsg(q));
q = NULL;
quvi_free(q); /* Release when done using it. */
q = NULL;
See Also
Parsing media properties
Environment variables

Compiling libquvi applications on UNIX:

cc foo.c `pkg-config --cflags --libs libquvi-0.9` -o foo
See Also
libcURL session handle