00001 /* 00002 * $Id: epr__dsd_8h_source.html,v 1.11 2013/02/14 16:57:54 pascal Exp $ 00003 * 00004 * Copyright (C) 2002 by Brockmann Consult (info@brockmann-consult.de) 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation. This program is distributed in the hope it will 00009 * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty 00010 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00011 * See the GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00016 */ 00017 00018 #ifndef EPR_DSD_H_INCL 00019 #define EPR_DSD_H_INCL 00020 00021 #ifdef __cplusplus 00022 extern "C" 00023 { 00024 #endif 00025 00026 #include "epr_ptrarray.h" 00027 00028 #include <stdio.h> /* just to get the ANSI-C type FILE */ 00029 00038 EPR_SDSD* epr_create_dsd(int dsd_index); 00039 00049 void epr_free_dsd(EPR_SDSD* dsd); 00050 00051 00060 EPR_SDSD* epr_read_each_dsd(FILE* envisat_source_file, int* pos); 00061 00069 EPR_SPtrArray* epr_read_all_dsds(EPR_SProductId* product_id); 00070 00080 uint epr_find_first_dsd(FILE* envisat_source_file, uint sph_length); 00081 00082 int epr_detect_meris_iodd_version(EPR_SProductId* product_id); 00083 00084 #ifdef __cplusplus 00085 } /* extern "C" */ 00086 #endif 00087 00088 #endif 00089 /* #ifndef EPR_DSD_H_INCL */