FORS Pipeline Reference Manual 4.9.20
fors_header.h
00001 /* $Id: fors_header.h,v 1.1 2012/11/05 17:11:40 cgarcia Exp $
00002  *
00003  * This file is part of the FORS Library
00004  * Copyright (C) 2002-2010 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00019  */
00020 
00021 /*
00022  * $Author: cgarcia $
00023  * $Date: 2012/11/05 17:11:40 $
00024  * $Revision: 1.1 $
00025  * $Name: fors-4_9_20 $
00026  */
00027 
00028 #ifndef FORS_HEADER_H
00029 #define FORS_HEADER_H
00030 
00031 #include <cpl.h>
00032 
00033 CPL_BEGIN_DECLS
00034 
00035 cpl_error_code fors_header_write_string(cpl_propertylist *header,
00036                                         const char *name, const char *value, 
00037                                         const char *comment);
00038 cpl_error_code fors_header_write_int(cpl_propertylist *header, int value,
00039                                      const char *name, const char *unit,
00040                                      const char *comment);
00041 cpl_error_code fors_header_write_double(cpl_propertylist *header, double value, 
00042                                         const char *name, const char *unit, 
00043                                         const char *comment);
00044 
00045 CPL_END_DECLS
00046 
00047 #endif /* FORS_HEADER_H */