/usr/include/libinstpatch-1.0/libinstpatch/util.h is in libinstpatch-dev 1.0.0-6.
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 | /*
* libInstPatch
* Copyright (C) 1999-2010 Joshua "Element" Green <jgreen@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1
* of the License only.
*
* 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 Lesser 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 Street, Fifth Floor, Boston, MA
* 02110-1301, USA or on the web at http://www.gnu.org.
*/
/**
* SECTION: util
* @short_description: Utility functions
* @see_also:
* @stability: Stable
*/
#ifndef __IPATCH_UTIL_H__
#define __IPATCH_UTIL_H__
#include <glib.h>
#include <glib-object.h>
extern GValue *ipatch_util_value_bool_true;
extern GValue *ipatch_util_value_bool_false;
/* a pointer to a constant boolean GValue for TRUE or FALSE depending on input
* value. */
#define IPATCH_UTIL_VALUE_BOOL(b) \
((b) ? ipatch_util_value_bool_true : ipatch_util_value_bool_false)
guint ipatch_util_value_hash (GValue *val);
guint ipatch_util_value_array_hash (GValueArray *valarray);
guint64 ipatch_util_file_size (const char *fname, GError **err);
#endif
|