DOC: Add "Verification of an URL" and "Verifying an URL"
[libquvi.git] / src / api / doxy / verify_url.dp
blob21f972cd9c7b06d7db83cc1eedc05711efd1a86f
1 /** @page verify_url Verifying an URL
3 @ref verification may be achieved using the @ref quvi_verify_new
4 function.
6 @code
7 quvi_verify_t qv;
8 char *ct, *fe;
9 double cl;
11 qv = quvi_verify_new(q, URL);
12 abort_if_error();
13 quvi_verify_get(qv, QUVI_VERIFY_PROPERTY_FILE_EXTENSION, &fe);
14 quvi_verify_get(qv, QUVI_VERIFY_PROPERTY_CONTENT_TYPE, &ct);
15 quvi_verify_get(qv, QUVI_VERIFY_PROPERTY_LENGTH_BYTES, &cl);
16 quvi_verify_free(qv);
18 @endcode