FORS Pipeline Reference Manual  5.0.9
fors_header.h
1 /* $Id: fors_header.h,v 1.1 2012-11-05 17:11:40 cgarcia Exp $
2  *
3  * This file is part of the FORS Library
4  * Copyright (C) 2002-2010 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author: cgarcia $
23  * $Date: 2012-11-05 17:11:40 $
24  * $Revision: 1.1 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef FORS_HEADER_H
29 #define FORS_HEADER_H
30 
31 #include <cpl.h>
32 
33 CPL_BEGIN_DECLS
34 
35 cpl_error_code fors_header_write_string(cpl_propertylist *header,
36  const char *name, const char *value,
37  const char *comment);
38 cpl_error_code fors_header_write_int(cpl_propertylist *header, int value,
39  const char *name, const char *unit,
40  const char *comment);
41 cpl_error_code fors_header_write_double(cpl_propertylist *header, double value,
42  const char *name, const char *unit,
43  const char *comment);
44 
45 CPL_END_DECLS
46 
47 #endif /* FORS_HEADER_H */
cpl_error_code fors_header_write_double(cpl_propertylist *header, double value, const char *name, const char *unit, const char *comment)
Write an integer value to the active QC1 PAF object and to a header.
Definition: fors_header.c:131
CPL_BEGIN_DECLS cpl_error_code fors_header_write_string(cpl_propertylist *header, const char *name, const char *value, const char *comment)
Write a string value to the active QC1 PAF object and to a header.
Definition: fors_header.c:78