test_media_escaped_url: Replace URL
[libquvi.git] / examples / lib / enable_cookies.c
blobfa277a8ebbc81e4c56ea3b76daf73034923be2ef
1 /* libquvi
2 * Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
4 * This file is part of libquvi <http://quvi.sourceforge.net/>.
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, either version 3 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Affero General Public License for more details.
16 * You should have received a copy of the GNU Affero General Public
17 * License along with this program. If not, see
18 * <http://www.gnu.org/licenses/>.
21 #include "config.h"
23 #include <glib.h>
24 #include <quvi.h>
26 extern quvi_t q;
28 void examples_enable_cookies()
30 quvi_set(q, QUVI_OPTION_ALLOW_COOKIES, QUVI_TRUE);
33 /* vim: set ts=2 sw=2 tw=72 expandtab: */