/usr/include/geocode-glib-1.0/geocode-glib/geocode-nominatim.h is in libgeocode-glib-dev 3.25.4.1-4.
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 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | /*
 * Copyright (C) 2011-2016 Bastien Nocera
 * Copyright (C) 2016 Collabora Ltd.
 *
 * The geocode-glib 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 geocode-glib 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>
 *          Aleksander Morgado <aleksander.morgado@collabora.co.uk>
 *          Philip Withnall <philip.withnall@collabora.co.uk>
 */
#ifndef GEOCODE_NOMINATIM_H
#define GEOCODE_NOMINATIM_H
#include <glib.h>
#include <gio/gio.h>
#include "geocode-place.h"
G_BEGIN_DECLS
/**
 * GeocodeNominatim:
 *
 * All the fields in the #GeocodeNominatim structure are private and should
 * never be accessed directly.
 *
 * Since: 3.23.1
 */
#define GEOCODE_TYPE_NOMINATIM (geocode_nominatim_get_type ())
G_DECLARE_DERIVABLE_TYPE (GeocodeNominatim, geocode_nominatim, GEOCODE, NOMINATIM, GObject)
/**
 * GEOCODE_TYPE_NOMINATIM:
 *
 * See #GeocodeNominatim.
 *
 * Since: 3.23.1
 */
/**
 * GeocodeNominatimClass:
 * @query: synchronous query function to override network `GET` requests.
 * @query_async: asynchronous version of @query.
 * @query_finish: asynchronous finish function for @query_async.
 *
 * #GeocodeNominatim allows derived classes to override its query functions,
 * which are called for each network request the Nominatim client makes. All
 * network requests are `GET`s with no request body; just a URI. The default
 * implementation makes the requests internally, but derived classes may want
 * to override these queries to check the URIs for testing, for example.
 *
 * Applications should not normally have to derive #GeocodeNominatim; these
 * virtual methods are mainly intended for testing.
 *
 * Since: 3.23.1
 */
struct _GeocodeNominatimClass {
	GObjectClass parent_class;
	gchar *(*query)        (GeocodeNominatim    *self,
	                        const gchar         *uri,
	                        GCancellable        *cancellable,
	                        GError             **error);
	void   (*query_async)  (GeocodeNominatim    *self,
	                        const gchar         *uri,
	                        GCancellable        *cancellable,
	                        GAsyncReadyCallback  callback,
	                        gpointer             user_data);
	gchar *(*query_finish) (GeocodeNominatim    *self,
	                        GAsyncResult        *res,
	                        GError             **error);
};
GeocodeNominatim *geocode_nominatim_new (const gchar *base_url,
                                         const gchar *maintainer_email_address);
GeocodeNominatim *geocode_nominatim_get_gnome (void);
G_END_DECLS
#endif /* GEOCODE_NOMINATIM_H */
 |