/usr/include/cpl_imagelist_io.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 | /* $Id: cpl_imagelist_io.h,v 1.30 2013-01-17 16:04:13 llundin Exp $
*
* This file is part of the ESO Common Pipeline Library
* Copyright (C) 2001-2008 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: llundin $
* $Date: 2013-01-17 16:04:13 $
* $Revision: 1.30 $
* $Name: not supported by cvs2svn $
*/
#ifndef CPL_IMAGELIST_IO_H
#define CPL_IMAGELIST_IO_H
/*-----------------------------------------------------------------------------
Includes
-----------------------------------------------------------------------------*/
#include "cpl_image.h"
#include "cpl_imagelist.h"
#include "cpl_vector.h"
CPL_BEGIN_DECLS
/*-----------------------------------------------------------------------------
Function prototypes
-----------------------------------------------------------------------------*/
/* Imagelist constructors */
cpl_imagelist * cpl_imagelist_new(void) CPL_ATTR_ALLOC;
cpl_imagelist * cpl_imagelist_load(const char *, cpl_type, cpl_size)
CPL_ATTR_ALLOC;
cpl_imagelist * cpl_imagelist_load_window(const char *, cpl_type, cpl_size,
cpl_size, cpl_size, cpl_size,
cpl_size) CPL_ATTR_ALLOC;
/* Imagelist accessors */
cpl_size cpl_imagelist_get_size(const cpl_imagelist *);
cpl_image * cpl_imagelist_get(cpl_imagelist *, cpl_size);
const cpl_image * cpl_imagelist_get_const(const cpl_imagelist *, cpl_size);
cpl_error_code cpl_imagelist_set(cpl_imagelist *, cpl_image *, cpl_size);
cpl_image * cpl_imagelist_unset(cpl_imagelist *, cpl_size);
/* Imagelist destructor */
void cpl_imagelist_delete(cpl_imagelist *);
void cpl_imagelist_unwrap(cpl_imagelist *);
void cpl_imagelist_empty(cpl_imagelist *);
/* Others */
cpl_imagelist * cpl_imagelist_duplicate(const cpl_imagelist *) CPL_ATTR_ALLOC;
cpl_error_code cpl_imagelist_erase(cpl_imagelist *, const cpl_vector *);
int cpl_imagelist_is_uniform(const cpl_imagelist *);
cpl_error_code cpl_imagelist_cast(cpl_imagelist *, const cpl_imagelist *,
cpl_type);
cpl_error_code cpl_imagelist_dump_structure(const cpl_imagelist *, FILE *);
cpl_error_code cpl_imagelist_dump_window(const cpl_imagelist *,
cpl_size, cpl_size, cpl_size, cpl_size, FILE *);
/* Saving function */
cpl_error_code cpl_imagelist_save(const cpl_imagelist *, const char *,
cpl_type, const cpl_propertylist *,
unsigned);
CPL_END_DECLS
#endif
|