/usr/include/quvi-0.9/quvi/qoption.h is in libquvi-0.9-dev 0.9.3-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | /* libquvi
* Copyright (C) 2012,2013 Toni Gundogdu <legatvs@gmail.com>
*
* This file is part of libquvi <http://quvi.sourceforge.net/>.
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public
* License as published by the Free Software Foundation, either
* version 3 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General
* Public License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*/
#ifndef qoption_h
#define qoption_h
/** @file qoption.h */
/** @enum QuviOption
@brief Options to be used with @ref quvi_set */
typedef enum
{
/** Default: None */
QUVI_OPTION_CALLBACK_STATUS,
/** Default: None */
QUVI_OPTION_CALLBACK_STATUS_USERDATA,
/** Enable cookies for libcurl handle.
* Default: QUVI_FALSE. When enabled (QUVI_TRUE), libcurl will
* parse the received cookies and use them in the subsequent HTTP
* requests.
* @note
* When disabled, quvi.http.cookie (of the quvi-object(7)) is also
* disabled
* @sa
* http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCOOKIEFILE
* @sa
* http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCOOKIELIST
* @sa
* http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTCOOKIEJAR
*/
QUVI_OPTION_ALLOW_COOKIES,
/** Identify as the user-agent to the HTTP servers.
* Default: "Mozilla/5.0".
* @note
* libquvi scripts may override this setting at any time. The
* original value set using this option will be restored each time
* the network accessing functions are called, e.g.
* quvi.http.fetch
* @sa http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTUSERAGENT
*/
QUVI_OPTION_USER_AGENT,
/** Autodetect and set the proxy for new connections.
* Default: QUVI_FALSE. When enabled (QUVI_TRUE), libquvi uses libproxy
* to detect the system proxy settings and sets the CURLOPT_PROXY to the
* libproxy returned value. This is done for each new connection.
* @sa http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPROXY
* @sa http://libproxy.googlecode.com/
*/
QUVI_OPTION_AUTOPROXY
} QuviOption;
#endif /* qoption_h */
/* vim: set ts=2 sw=2 tw=72 expandtab: */
|