This file is indexed.

/usr/include/libgoffice-0.8/goffice/utils/go-undo.h is in libgoffice-0.8-dev 0.8.17-3.

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
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#ifndef _GOFFICE_UNDO_H_
#define _GOFFICE_UNDO_H_

#include <glib-object.h>

G_BEGIN_DECLS

/* ------------------------------------------------------------------------- */

#define GO_TYPE_UNDO	    (go_undo_get_type ())
#define GO_UNDO(o)	    (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_UNDO, GOUndo))
#define GO_IS_UNDO(o)	    (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_UNDO))

GType go_undo_get_type (void);

typedef struct _GOUndo GOUndo;
typedef struct _GOUndoClass GOUndoClass;

struct _GOUndo {
	GObject base;
};

struct _GOUndoClass {
	GObjectClass	base;

	void (*undo) (GOUndo *u, gpointer data);
};

/* Basic operations */
void go_undo_undo (GOUndo *u);
void go_undo_undo_with_data (GOUndo *u, gpointer data);

GOUndo *go_undo_combine (GOUndo *a, GOUndo *b);

/* ------------------------------------------------------------------------- */
/* Compound operations.  */

#define GO_TYPE_UNDO_GROUP  (go_undo_group_get_type ())
#define GO_UNDO_GROUP(o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_UNDO_GROUP, GOUndoGroup))
#define GO_IS_UNDO_GROUP(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_UNDO_GROUP))

GType go_undo_group_get_type (void);

typedef struct _GOUndoGroup GOUndoGroup;
typedef struct _GOUndoGroupClass GOUndoGroupClass;

struct _GOUndoGroup {
	GOUndo base;
	GPtrArray *undos;
};

struct _GOUndoGroupClass {
	GOUndoClass base;
};

GOUndoGroup *go_undo_group_new (void);
void go_undo_group_add (GOUndoGroup *g, GOUndo *u);

/* ------------------------------------------------------------------------- */

#define GO_TYPE_UNDO_BINARY  (go_undo_binary_get_type ())
#define GO_UNDO_BINARY(o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_UNDO_BINARY, GOUndoBinary))
#define GO_IS_UNDO_BINARY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_UNDO_BINARY))

GType go_undo_binary_get_type (void);

typedef struct _GOUndoBinary GOUndoBinary;
typedef struct _GOUndoBinaryClass GOUndoBinaryClass;

typedef void (*GOUndoBinaryFunc) (gpointer a, gpointer b, gpointer data);

struct _GOUndoBinary {
	GOUndo base;
	gpointer a, b;
	GOUndoBinaryFunc undo;
	GFreeFunc disposea;
	GFreeFunc disposeb;
};

struct _GOUndoBinaryClass {
	GOUndoClass base;
};

GOUndo *go_undo_binary_new (gpointer a, gpointer b, GOUndoBinaryFunc undo,
			    GFreeFunc fa, GFreeFunc fb);

/* ------------------------------------------------------------------------- */

#define GO_TYPE_UNDO_UNARY  (go_undo_unary_get_type ())
#define GO_UNDO_UNARY(o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), GO_TYPE_UNDO_UNARY, GOUndoUnary))
#define GO_IS_UNDO_UNARY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GO_TYPE_UNDO_UNARY))

GType go_undo_unary_get_type (void);

typedef struct _GOUndoUnary GOUndoUnary;
typedef struct _GOUndoUnaryClass GOUndoUnaryClass;

typedef void (*GOUndoUnaryFunc) (gpointer a, gpointer data);

struct _GOUndoUnary {
	GOUndo base;
	gpointer a;
	GOUndoUnaryFunc undo;
	GFreeFunc disposea;
};

struct _GOUndoUnaryClass {
	GOUndoClass base;
};

GOUndo *go_undo_unary_new (gpointer a, GOUndoUnaryFunc undo, GFreeFunc fa);

/* ------------------------------------------------------------------------- */

G_END_DECLS

#endif