2 * Copyright (C) 2009,2010 Toni Gundogdu <legatvs@gmail.com>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 char *freprintf(char **dst
, const char *fmt
, ...);
27 regexp_capture(_quvi_t quvi
,
29 const char *regexp
, int *ovector
, int ovector_count
, ...
32 int is_format_supported(const char *fmt
, const char *lst
);
35 QUVIcode
contenttype_to_suffix(_quvi_t
, _quvi_video_link_t
);
36 QUVIcode
parse_charset(_quvi_media_t video
, const char *content
);
37 QUVIcode
format_output_filename(_quvi_media_t video
, char **dst
);
40 parse_page_common(const char *url
,
42 char **content
, const char *re_id
,
43 const char *re_title
);
45 QUVIcode
to_utf8(_quvi_media_t video
);
47 char *strepl(const char *s
, const char *what
, const char *with
);
48 char *unescape(_quvi_t quvi
, char *s
);
49 char *from_html_entities(char *src
);
50 int add_video_link(llst_node_t
* lst
, const char *fmt
, ...);
51 char *dirname_from(const char *s
);
54 /* vim: set ts=2 sw=2 tw=72 expandtab: */