/usr/include/libgsf-1/gsf/gsf-input-memory.h is in libgsf-1-dev 1.14.21-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 | /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* gsf-input-memory.h: interface for used by the ole layer to read raw data
*
* Copyright (C) 2002-2006 Jody Goldberg (jody@gnome.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
* USA
*/
#ifndef GSF_INPUT_MEMORY_H
#define GSF_INPUT_MEMORY_H
#include <gsf/gsf-input.h>
G_BEGIN_DECLS
#define GSF_INPUT_MEMORY_TYPE (gsf_input_memory_get_type ())
#define GSF_INPUT_MEMORY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GSF_INPUT_MEMORY_TYPE, GsfInputMemory))
#define GSF_IS_INPUT_MEMORY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GSF_INPUT_MEMORY_TYPE))
typedef struct _GsfInputMemory GsfInputMemory;
GType gsf_input_memory_get_type (void) G_GNUC_CONST;
/* void gsf_input_memory_register_type (GTypeModule *module); glib dynamic types are not thread safe */
GsfInput *gsf_input_memory_new (guint8 const *buf, gsf_off_t length,
gboolean needs_free);
GsfInput *gsf_input_memory_new_clone (guint8 const *buf, gsf_off_t length);
GsfInput *gsf_input_mmap_new (char const *filename, GError **err);
G_END_DECLS
#endif /* GSF_INPUT_MEMORY_H */
|