libquvi
 All Files Functions Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Scan property

Functions

void quvi_scan_free (quvi_scan_t handle)
 Free all of memory used by a scan handle.
quvi_scan_t quvi_scan_new (quvi_t handle, const char *url)
 Scan URL contents for supported embedded media URLs.
const char * quvi_scan_next_media_url (quvi_scan_t handle)

Detailed Description

Function Documentation

void quvi_scan_free ( quvi_scan_t  handle)

Free all of memory used by a scan handle.

Note
If handle is NULL the function simply returns
See Also
Scanning URL for embedded media URLs
quvi_scan_t quvi_scan_new ( quvi_t  handle,
const char *  url 
)

Scan URL contents for supported embedded media URLs.

Returns
New handle, quvi_scan_free it when done using it
Note
  • Calling this function restores the current libcURL session handle to its initial state (cookies cleared, custom headers cleared, default user-agent string restored, ...)
  • Use quvi_ok for checking if an error occurred
See Also
Scanning URL for embedded media URLs
const char* quvi_scan_next_media_url ( quvi_scan_t  handle)
@return Next detected media URL (NULL-terminated) string or NULL
Note
Do not attempt to free the returned string
See Also
Scanning URL for embedded media URLs