This file is indexed.

/usr/include/cpl_framedata.h is in libcpl-dev 6.6.1-1build1.

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
/* $Id: cpl_framedata.h,v 1.4 2012-01-11 13:38:29 rpalsa Exp $
 *
 * This file is part of the ESO Common Pipeline Library
 * Copyright (C) 2001-2006 European Southern Observatory
 *
 * 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */

/*
 * $Author: rpalsa $
 * $Date: 2012-01-11 13:38:29 $
 * $Revision: 1.4 $
 * $Name: not supported by cvs2svn $
 */

#ifndef CPL_FRAMEDATA_H
#define CPL_FRAMEDATA_H

#include <cpl_macros.h>
#include <cpl_type.h>
#include <cpl_error.h>


CPL_BEGIN_DECLS

/**
 * @ingroup cpl_framedata
 *
 * @brief
 *  The frame data object type.
 */

typedef struct _cpl_framedata_ cpl_framedata;


/**
 * @ingroup cpl_framedata
 *
 * @brief
 *  The public frame data object.
 *
 * The frame data object stores a frame identifier, the frame tag, and
 * the minimum and maximum number of frames needed.
 *
 * The data members of this structure are public to allow for a static
 * initialization. Any other access of the public data members should
 * still be done using the member functions.
 */

struct _cpl_framedata_ {

    /**
     * The frame tag. A unique string identifier for a particular kind of
     * frame.
     */

    const char* tag;

    /**
     * The minimum number of frames of the kind given by the @em tag,
     * the recipe requires in input. A value of @c -1 means that the
     * minimum number of frames is unspecified.
     */

    cpl_size min_count;

    /**
     * The maximum number of frames of the kind given by the @em tag,
     * the recipe requires in input. A value of @c -1 means that the
     * maximum number of frames is unspecified.
     */

    cpl_size max_count;

};


/*
 * Create, copy and destroy operations
 */

cpl_framedata* cpl_framedata_new(void) CPL_ATTR_ALLOC;
cpl_framedata* cpl_framedata_create(const char* tag, cpl_size min_count,
                                    cpl_size max_count) CPL_ATTR_ALLOC;
cpl_framedata* cpl_framedata_duplicate(const cpl_framedata* other)
    CPL_ATTR_ALLOC;
void cpl_framedata_clear(cpl_framedata* self);
void cpl_framedata_delete(cpl_framedata* self);

/*
 * Non modifying operations
 */

const char* cpl_framedata_get_tag(const cpl_framedata* self);

cpl_size cpl_framedata_get_min_count(const cpl_framedata* self);
cpl_size cpl_framedata_get_max_count(const cpl_framedata* self);


/*
 * Assignment operations
 */

cpl_error_code cpl_framedata_set_tag(cpl_framedata* self, const char* tag);

cpl_error_code cpl_framedata_set_min_count(cpl_framedata* self,
                                           cpl_size min_count);
cpl_error_code cpl_framedata_set_max_count(cpl_framedata* self,
                                           cpl_size max_count);

cpl_error_code cpl_framedata_set(cpl_framedata* self, const char* tag,
                                 cpl_size min_count, cpl_size max_count);

CPL_END_DECLS

#endif /* CPL_FRAMEDATA_H */