/usr/include/geocode-glib-1.0/geocode-glib/geocode-error.h is in libgeocode-glib-dev 3.18.2-1.
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 | /*
Copyright (C) 2011 Bastien Nocera
The Gnome Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The Gnome 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the Gnome Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA.
Authors: Bastien Nocera <hadess@hadess.net>
*/
#ifndef GEOCODE_ERROR_H
#define GEOCODE_ERROR_H
#include <glib.h>
G_BEGIN_DECLS
/**
* GEOCODE_ERROR:
*
* Error domain for geocode-glib. Errors from this domain will be from
* the #GeocodeError enumeration.
* See #GError for more information on error domains.
**/
#define GEOCODE_ERROR (geocode_error_quark ())
/**
* GeocodeError:
* @GEOCODE_ERROR_PARSE: An error occured parsing the response from the web service.
* @GEOCODE_ERROR_NOT_SUPPORTED: The request made was not supported.
* @GEOCODE_ERROR_NO_MATCHES: The requests made didn't have any matches.
* @GEOCODE_ERROR_INVALID_ARGUMENTS: The request made contained invalid arguments.
* @GEOCODE_ERROR_INTERNAL_SERVER: The server encountered an (possibly unrecoverable) internal error.
*
* Error codes returned by geocode-glib functions.
**/
typedef enum {
GEOCODE_ERROR_PARSE,
GEOCODE_ERROR_NOT_SUPPORTED,
GEOCODE_ERROR_NO_MATCHES,
GEOCODE_ERROR_INVALID_ARGUMENTS,
GEOCODE_ERROR_INTERNAL_SERVER
} GeocodeError;
GQuark geocode_error_quark (void);
G_END_DECLS
#endif /* GEOCODE_ERROR_H */
|