This file is indexed.

/usr/include/afs/gtxlightobj.h is in libopenafs-dev 1.8.0~pre5-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
 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
/*
 * Copyright 2000, International Business Machines Corporation and others.
 * All Rights Reserved.
 *
 * This software has been released under the terms of the IBM Public
 * License.  For details, see the LICENSE file in the top-level source
 * directory or online at http://www.openafs.org/dl/license10.html
 */

#ifndef __gator_lightobject_h
#define	__gator_lightobject_h  1

#include "gtxobjects.h"		/*Basic gator object definitions */

/*Value for onode o_type field*/
#define	GATOR_OBJ_LIGHT	1

/*Light masks*/
#define	GATOR_LIGHTMASK_OUTLINE	   0x1	/*Outline the light? */
#define	GATOR_LIGHTMASK_INVVIDEO   0x2	/*Show light in inverse video? */
#define	GATOR_LIGHTMASK_FLASH	   0x4	/*Flash light when turned on? */
#define	GATOR_LIGHTMASK_FLASHCYCLE 0x8	/*Current flash cycle */

#define GATOR_LABEL_CHARS 128	/*Max chars in light label */

/*Private data for light onode*/
struct gator_lightobj {
    int *llrock;		/*Rock for lower-level graphics layer */
    int setting;		/*Is light on or off */
    int appearance;		/*Bit array describing light's appearance */
    int flashfreq;		/*Flashing frequency in msecs */
    int lasttoggletime;		/*Last time ``flashed'' */
    char label[GATOR_LABEL_CHARS];	/*Light label */
};

/*Light object's creation parameters*/
struct gator_light_crparams {
    struct onode_createparams onode_params;	/*Creation params for the whole onode */
    int appearance;		/*General appearance */
    int flashfreq;		/*Flash frequency in msecs, if any */
    char label[GATOR_LABEL_CHARS];	/*Light label */
    int label_x, label_y;	/*X,Y offsets for label within light */
};

/*Light object's creation routine*/

extern int gator_light_create(struct onode *, struct onode_createparams *);
    /*
     * Summary:
     *    Create a gator light object.
     *
     * Args:
     *    struct onode *light_onp : Ptr to the light onode to fill out.
     *    struct onode_createparams *params : Ptr to creation params.
     *       (Note: this actually points to a gator_light_crparams
     *        structure, but we use the generic version of the ptr)
     *
     * Returns:
     *    Zero if successful,
     *    Error value otherwise.
     */

/*Light object's generic onode routines*/

extern int gator_light_destroy(struct onode *);
    /*
     * Summary:
     *    Destroy a gator light object.
     *
     * Args:
     *   struct onode *onp : Ptr to the light onode to delete.
     *
     * Returns:
     *    0: Success.
     *    Error value otherwise.
     */

extern int gator_light_display(struct onode *);
    /*
     * Summary:
     *    Display/redraw a gator light object.
     *
     * Args:
     *    struct onode *onp: Ptr to the light onode to display.
     *
     * Returns:
     *    0: Success.
     *    Error value otherwise.
     */

extern int gator_light_release(struct onode *);
    /*
     * Summary:
     *    Drop the refcount on a gator light object.
     *
     * Args:
     *    struct onode *onp : Ptr to the onode whose refcount is
     *                                   to be dropped.
     *
     * Returns:
     *    0: Success.
     *    Error value otherwise.
     */

/*
 * Additional, light-specific operations.
 */

extern int gator_light_set(struct onode *, int);
    /*
     * Summary:
     *    Set the value of the given gator light object.
     *
     * Args:
     *    struct onode *onp : Ptr to the light onode to be set.
     *    int setting       : Non-zero for ``on'', zero for ``off''.
     *
     * Returns:
     *    0: Success.
     *    Error value otherwise.
     */

/*
 * Set of exported generic light onode operations.
 */
extern struct onodeops gator_light_ops;

#endif /* __gator_lightobject_h */