From fe58c5ea5c31e146961ebba42a9ec0dc8c2eec69 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Fri, 29 Jul 2011 10:39:28 +0300 Subject: [PATCH] Revise manual; add codes --- man1/Quvi.pod | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/man1/Quvi.pod b/man1/Quvi.pod index 600657e..e99c832 100644 --- a/man1/Quvi.pod +++ b/man1/Quvi.pod @@ -6,13 +6,14 @@ WWW::Quvi - Perl extension interface for libquvi use WWW::Quvi; my $q = new WWW::Quvi::Query; - my $m = $query->parse($url); + my $m = $q->parse($url); croak "error: $q->{errmsg}" unless $q->{ok}; =head1 DESCRIPTION WWW::Quvi provides a Perl interface to libquvi, a small C library for -parsing Flash media stream URLs. +parsing Flash media stream URLs. It is written in C++ and uses SWIG to +connect to the libquvi API. =head1 DOCUMENTATION @@ -124,10 +125,52 @@ Last response (assumed HTTP) code returned by the server. =back +=head1 RETURN CODES (WWW::Quvi::*) + +L saves the last libquvi returned code as +C. In most cases, it is sufficient to just check +the C and use the C instead. + + OK - No error + Mem - Memory allocation error + BadHandle - Bad handle + InvArg - Invalid function argument + CurlInit - libquvi initialization failure + Last - Last element in the list + AbortedByCallBack - Aborted by a callback function + LuaInit - liblua initialization failure + NoLuaWebsite - Failed to find any libquvi webscripts + NoLuaUtil - Failed to find the libquvi utility scripts + NoSupport - libquvi cannot handle the URL + Callback - Network callback error occurred + Iconv - libiconv error occurred + Lua - liblua (or webscript) error occurred + +Note that L saves the last server returned +B as C. This documentation does not cover +the I. + +=head1 PROTOCOL CATEGORIES (WWW::Quvi::*) + +The protocol category defines which of the webscripts, that libquvi +provides, your application is interested in. + +For example, if your application can handle only HTTP connections, +then it would make sense to set the C (see +L) to C. + + ProtoHttp - Protocol category HTTP + ProtoMms - ... + ProtoRTSP - ... + ProtoRTMP - ... + ProtoAll - Any of the above categories + =head1 NOT IMPLEMENTED =over 4 +=item B + =item B =item B -- 2.11.4.GIT