This file is indexed.

/usr/share/gnome-speech/sources/swift/swiftsynthesisdriver.h is in gnome-speech-swift 1:0.4.25-5ubuntu2.

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
/*
 * GNOME Speech - Speech services for the GNOME desktop
 *
 * Copyright 2006 Sun Microsystems Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * 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
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * swiftsynthesisdriver.h: Definition of the SwiftSynthesisDriver
 *                           object-- a GNOME Speech driver for Cepstral's
 *                           Swift TTS engine (implementation in
 *                           swiftsynthesisdriver.c)
 */

#ifndef __SWIFT_SYNTHESIS_DRIVER_H_
#define __SWIFT_SYNTHESIS_DRIVER_H_

#include <bonobo/bonobo-object.h>
#include <gnome-speech/gnome-speech.h>

#define SWIFT_SYNTHESIS_DRIVER_TYPE        (swift_synthesis_driver_get_type ())
#define SWIFT_SYNTHESIS_DRIVER(o)          (G_TYPE_CHECK_INSTANCE_CAST((o), SWIFT_SYNTHESIS_DRIVER_TYPE, SwiftSynthesisDriver))
#define SWIFT_SYNTHESIS_DRIVER_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), swift_SYNTHESIS_driver_TYPE, SwiftSynthesisDriverClass))
#define SWIFT_SYNTHESIS_DRIVER_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS((obj), SWIFT_SYNTHESIS_DRIVER_TYPE, SwiftSynthesisDriverClass))
#define IS_SWIFT_SYNTHESIS_DRIVER(o)       (G_TYPE_CHECK_INSTANCE_TYPE((o), SWIFT_SYNTHESIS_DRIVER_TYPE))
#define IS_SWIFT_SYNTHESIS_DRIVER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE((k), SWIFT_SYNTHESIS_DRIVER_TYPE))

typedef struct {
	BonoboObject parent;
	gboolean     initialized;
        swift_engine *tts_engine;
        swift_port   *tts_port;
	gboolean     speaking;
	GSList       *utterances;
	guint        timeout_id;
	int          status_pipe[2];
} SwiftSynthesisDriver;

typedef struct {
	BonoboObjectClass parent_class;
	POA_GNOME_Speech_SynthesisDriver__epv epv;
} SwiftSynthesisDriverClass;

#include "swiftspeaker.h"

swift_result_t 
swift_event_callback (swift_event *event,
		      swift_event_t type,
		      void *udata);

GType
swift_synthesis_driver_get_type (void);

SwiftSynthesisDriver *
swift_synthesis_driver_new (void);

gint
swift_synthesis_driver_say (SwiftSynthesisDriver *d,
			    SwiftSpeaker *s,
			    const gchar *text);

gboolean
swift_synthesis_driver_stop (SwiftSynthesisDriver *d);

gboolean
swift_synthesis_driver_is_speaking (SwiftSynthesisDriver *d);

#endif /* __SWIFT_SYNTHESIS_DRIVER_H_ */