This file is indexed.

/usr/include/llk_linux/llk_algorithm.h is in llk-linux 2.3~beta1-0ubuntu5.

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
/***************************************************************************
 *            llk_algorithm.h
 *
 *  Fri Sep 23 08:46:05 2005
 *  Copyright  2005  Alpher
 *  Email: alpher_zmx@yahoo.com.cn
 ****************************************************************************/

/*
 *  This program 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 2 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, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
 
#ifndef __LLK_ALGORITHM_H
#define __LLK_ALGORITHM_H
#include <gtk/gtk.h>
#include <time.h>
#include <stdlib.h>
#include <glib/gi18n.h>
#define ALGORITHM_GAME_STOP  1
#define ALGORITHM_GAME_RUN   2
#define ALGORITHM_GAME_PAUSE 3

struct AlgorithmPoint{
	gint x;
	gint y;
};

struct AlgorithmGame{
	gint difficulty;
	gint level;
	gint life;
	gint hint;
	gint score;
	gint row,col;
	gint status; /*Game status*/
	gint data[9][16]; /*0:no pic,1: pic1,*/
};

struct AlgorithmGame algorithm_game;
gboolean algorithm_game_init(void);
gboolean algorithm_game_begin(gpointer data);
gboolean algorithm_can_direct_link(struct AlgorithmPoint p1, struct AlgorithmPoint p2); 
gboolean algorithm_can_link(struct AlgorithmPoint p1, struct AlgorithmPoint p2, struct AlgorithmPoint *pp3, struct AlgorithmPoint *pp4); 
void     algorithm_link(struct AlgorithmPoint p1,struct AlgorithmPoint p2);
GSList * algorithm_get_points(struct AlgorithmPoint p);
void     algorithm_free_with_data(GSList *list);
gint     algorithm_game_no_solution(void);
void     algorithm_game_shuffle(void);
void     algorithm_game_change(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
gboolean algorithm_game_net_level(void);
void     algorithm_init_data(void);
void     algorithm_data_change_0(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_1(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_2(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_3(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_4(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_5(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_6(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_7(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_8(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_9(struct AlgorithmPoint p1, struct AlgorithmPoint p2);
void     algorithm_data_change_10(struct AlgorithmPoint p1, struct AlgorithmPoint p2);

#endif