This file is indexed.

/usr/include/libgnomecups-1/libgnomecups/gnome-cups-queue.h is in libgnomecups1.0-dev 0.2.3-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
#ifndef GNOME_CUPS_QUEUE_H
#define GNOME_CUPS_QUEUE_H

#include <glib.h>
#include <glib-object.h>
#include <cups/ipp.h>

G_BEGIN_DECLS

#define GNOME_CUPS_TYPE_QUEUE            (gnome_cups_queue_get_type())
#define GNOME_CUPS_QUEUE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GNOME_CUPS_TYPE_QUEUE, GnomeCupsQueue))
#define GNOME_CUPS_QUEUE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GNOME_CUPS_TYPE_QUEUE, GnomeCupsQueueClass))
#define GNOME_CUPS_IS_QUEUE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GNOME_CUPS_TYPE_QUEUE))
#define GNOME_CUPS_IS_QUEUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GNOME_CUPS_TYPE_QUEUE))
#define GNOME_CUPS_QUEUE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), GNOME_CUPS_TYPE_QUEUE, GnomeCupsQueueClass))

typedef struct _GnomeCupsQueue        GnomeCupsQueue;
typedef struct _GnomeCupsQueueClass   GnomeCupsQueueClass;
typedef struct _GnomeCupsQueueDetails GnomeCupsQueueDetails;
typedef struct _GnomeCupsJob          GnomeCupsJob;

struct _GnomeCupsQueue {
	GObject parent;
	
	GnomeCupsQueueDetails *details;
};

struct _GnomeCupsQueueClass {
	GObjectClass parent_class;

	void (*jobs_added) (GnomeCupsQueue *queue,
			    GList *jobs);
	void (*jobs_removed) (GnomeCupsQueue *queue,
			      GList *jobs);
	void (*jobs_changed) (GnomeCupsQueue *queue,
			      GList *jobs);
	void (*gone) (GnomeCupsQueue *queue);
};

struct _GnomeCupsJob {
	int id;
	char *name;
	char *owner;
	ipp_jstate_t state;
	char *state_str;
	char *state_reason;
	char *full_state;
	unsigned long size;
	int pages;
	int pages_complete;
        time_t creation_time;
        time_t processing_time;
        time_t completed_time;
};

gboolean           gnome_cups_jobs_equal          (GnomeCupsJob    *a,
						   GnomeCupsJob    *b);
void               gnome_cups_job_free            (GnomeCupsJob    *job);
GnomeCupsJob *     gnome_cups_job_dup             (GnomeCupsJob    *job);
void               gnome_cups_job_list_free       (GList           *jobs);


/* GnomeCupsQueue */
GType              gnome_cups_queue_get_type      (void);
GnomeCupsQueue    *gnome_cups_queue_get           (const char      *name);
GnomeCupsQueue    *gnome_cups_queue_get_existing  (const char      *name);

const char        *gnome_cups_queue_get_name      (GnomeCupsQueue  *queue);
gboolean           gnome_cups_queue_is_gone       (GnomeCupsQueue  *queue);
const GList       *gnome_cups_queue_get_jobs      (GnomeCupsQueue  *queue);
int                gnome_cups_queue_get_job_count (GnomeCupsQueue  *queue);
GnomeCupsJob      *gnome_cups_queue_get_job       (GnomeCupsQueue  *queue,
						   int              job_id,
						   gboolean	    cache_ok);
void               gnome_cups_queue_pause_job     (GnomeCupsQueue  *queue,
						   int              job_id,
						   GError         **error);
void               gnome_cups_queue_resume_job    (GnomeCupsQueue  *queue,
						   int              job_id,
						   GError         **error);
void               gnome_cups_queue_cancel_job    (GnomeCupsQueue  *queue,
						   int              job_id,
						   GError         **error);

G_END_DECLS
	
#endif