This file is indexed.

/usr/include/genius/geloutput.h is in genius-dev 1.0.22-1.

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
/* GENIUS Calculator
 * Copyright (C) 1997-2007 Jiri (George) Lebl
 *
 * Author: Jiri (George) Lebl
 *
 * This file is part of Genius.
 *
 * Genius is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * 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 General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _GELOUTPUT_H_
#define _GELOUTPUT_H_

#include <stdio.h>
#include "structs.h"

void		gel_output_printf_full		(GelOutput *gelo,
						 gboolean limit,
						 const char *format,
						 ...) G_GNUC_PRINTF (3, 4);
void		gel_output_printf		(GelOutput *gelo,
						 const char *format,
						 ...) G_GNUC_PRINTF (2, 3);
void		gel_output_string		(GelOutput *gelo,
						 const char *string);
void		gel_output_full_string		(GelOutput *gelo,
						 const char *string);

GelOutput *	gel_output_new			(void);
void		gel_output_ref			(GelOutput *gelo);
void		gel_output_unref		(GelOutput *gelo);

/* set input notify handler */
void		gel_output_set_notify		(GelOutput *gelo,
						 GelOutputNotifyFunc notify);
void		gel_output_push_nonotify	(GelOutput *gelo);
void		gel_output_pop_nonotify		(GelOutput *gelo);

/* user data */
/* usable outside of genius */
void		gel_output_set_data		(GelOutput *gelo,
						 gpointer data);
gpointer	gel_output_get_data		(GelOutput *gelo);

/* string output stuff */
void		gel_output_setup_string		(GelOutput *gelo, 
						 int line_length,
						 GelOutputLineFunc line_length_get);
char *		gel_output_snarf_string		(GelOutput *gelo);
const char *	gel_output_peek_string		(GelOutput *gelo);
void		gel_output_clear_string		(GelOutput *gelo);

/* set the internal gstring to the given one, usefull if you want
   to print into your own gstring.  Just make sure to set it to
   null before the object is destroyed */
void		gel_output_set_gstring		(GelOutput *gelo,
						 GString *gs);

/* file output stuff */
void		gel_output_setup_file		(GelOutput *gelo, 
						 FILE *outfp,
						 int line_length,
						 GelOutputLineFunc line_length_get);

/* Black hole setup */
void		gel_output_setup_black_hole	(GelOutput *gelo);

/* some accessors, this line length is not the current one,
 * just the default one */
void		gel_output_get_line_length	(GelOutput *gelo,
						 int *line_length,
						 GelOutputLineFunc *line_length_get);
void		gel_output_set_line_length	(GelOutput *gelo, 
						 int line_length,
						 GelOutputLineFunc line_length_get);
void		gel_output_set_length_limit	(GelOutput *gelo,
						 gboolean length_limit);

/* This gets the current line length (columns) */
int		gel_output_get_columns		(GelOutput *gelo);

/* quivalent to fflush on the FILE pointer */
void		gel_output_flush		(GelOutput *gelo);

#endif