This file is indexed.

/usr/include/evolution-data-server/libebook/e-destination.h is in libebook1.2-dev 3.10.4-0ubuntu1.

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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/*
 * e-destination.h
 *
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 *
 * Authors: Jon Trowbridge <trow@ximian.com>
 *          Chris Toshok <toshok@ximian.com>
 */

/*
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 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 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.
 */

#if !defined (__LIBEBOOK_H_INSIDE__) && !defined (LIBEBOOK_COMPILATION)
#error "Only <libebook/libebook.h> should be included directly."
#endif

#ifndef __E_DESTINATION_H__
#define __E_DESTINATION_H__

#include <libebook-contacts/libebook-contacts.h>
#include <libebook/e-book.h>
#include <libebook/e-book-client.h>
#include <libxml/tree.h>

/* Standard GObject macros */
#define E_TYPE_DESTINATION \
	(e_destination_get_type ())
#define E_DESTINATION(obj) \
	(G_TYPE_CHECK_INSTANCE_CAST \
	((obj), E_TYPE_DESTINATION, EDestination))
#define E_DESTINATION_CLASS(cls) \
	(G_TYPE_CHECK_CLASS_CAST \
	((cls), E_TYPE_DESTINATION, EDestinationClass))
#define E_IS_DESTINATION(obj) \
	(G_TYPE_CHECK_INSTANCE_TYPE \
	((obj), E_TYPE_DESTINATION))
#define E_IS_DESTINATION_CLASS(cls) \
	(G_TYPE_CHECK_CLASS_TYPE \
	((cls), E_TYPE_DESTINATION))
#define E_DESTINATION_GET_CLASS(obj) \
	(G_TYPE_INSTANCE_GET_CLASS \
	((obj), E_TYPE_DESTINATION, EDestinationClass))

G_BEGIN_DECLS

typedef struct _EDestination EDestination;
typedef struct _EDestinationClass EDestinationClass;
typedef struct _EDestinationPrivate EDestinationPrivate;

struct _EDestination {
	GObject object;
	EDestinationPrivate *priv;
};

struct _EDestinationClass {
	GObjectClass parent_class;

	/* Signals */
	void		(*changed)		(EDestination *destination);

	/* Padding for future expansion */
	void		(*_ebook_reserved1)	(void);
	void		(*_ebook_reserved2)	(void);
	void		(*_ebook_reserved3)	(void);
	void		(*_ebook_reserved4)	(void);
};

GType		e_destination_get_type		(void) G_GNUC_CONST;

EDestination *	e_destination_new		(void);
EDestination *	e_destination_copy		(const EDestination *dest);

gboolean	e_destination_empty		(const EDestination *dest);
gboolean	e_destination_equal		(const EDestination *a,
						 const EDestination *b);

/* for use with EDestinations that wrap a particular contact */
void		e_destination_set_contact	(EDestination *dest,
						 EContact *contact,
						 gint email_num);
void		e_destination_set_contact_uid	(EDestination *dest,
						 const gchar *uid,
						 gint email_num);
void		e_destination_set_client	(EDestination *dest,
						 EBookClient *client);
EContact *	e_destination_get_contact	(const EDestination *dest);
const gchar *	e_destination_get_source_uid	(const EDestination *dest);
const gchar *	e_destination_get_contact_uid	(const EDestination *dest);
gint		e_destination_get_email_num	(const EDestination *dest);

/* for use with EDestinations built up from strings
 * (not corresponding to contacts in a user's address books) */
void		e_destination_set_name		(EDestination *dest,
						 const gchar *name);
void		e_destination_set_email		(EDestination *dest,
						 const gchar *email);
const gchar *	e_destination_get_name		(const EDestination *dest);
const gchar *	e_destination_get_email		(const EDestination *dest);
const gchar *	e_destination_get_address	(const EDestination *dest);

gboolean	e_destination_is_evolution_list	(const EDestination *dest);
gboolean	e_destination_list_show_addresses
						(const EDestination *dest);
const GList *	e_destination_list_get_dests	(const EDestination *dest);
const GList *	e_destination_list_get_root_dests
						(const EDestination *dest);
gboolean	e_destination_is_ignored	(const EDestination *dest);
void		e_destination_set_ignored	(EDestination *dest,
						 gboolean ignored);

/* If true, they want HTML mail. */
gboolean	e_destination_get_html_mail_pref
						(const EDestination *dest);
void		e_destination_set_html_mail_pref
						(EDestination *dest,
						 gboolean flag);

/* used by the evolution composer to manage automatic recipients
 *
 * XXX should probably be implemented using a more neutral/extensible
 * approach instead of a hardcoded evolution-only flag. */
gboolean	e_destination_is_auto_recipient	(const EDestination *dest);
void		e_destination_set_auto_recipient
						(EDestination *dest,
						 gboolean value);

/* set an EDestination (name/email, not contact) from a free form string. */
void		e_destination_set_raw		(EDestination *dest,
						 const gchar *raw);

/* generate a plain-text representation of an EDestination */
const gchar *	e_destination_get_textrep	(const EDestination *dest,
						 gboolean include_email);
gchar *		e_destination_get_textrepv	(EDestination **destv);

/* XML export/import routines. */
gchar *		e_destination_export		(const EDestination *dest);
gchar *		e_destination_exportv		(EDestination **destv);
EDestination *	e_destination_import		(const gchar *str);
EDestination **	e_destination_importv		(const gchar *str);

/* EVCard "export" routines */
void		e_destination_export_to_vcard_attribute
						(EDestination *dest,
						 EVCardAttribute *attr);

void		e_destination_freev		(EDestination **destv);

#ifndef EDS_DISABLE_DEPRECATED
#ifndef __GI_SCANNER__
void		e_destination_set_book		(EDestination *dest,
						 EBook *book);
#endif /* __GI_SCANNER__ */
#endif /* EDS_DISABLE_DEPRECATED */

G_END_DECLS

#endif /* __E_DESTINATION_H__ */