GRASS Programmer's Manual
6.4.2(2012)
|
00001 00002 /**************************************************************************** 00003 * 00004 * MODULE: imagery library 00005 * AUTHOR(S): Original author(s) name(s) unknown - written by CERL 00006 * PURPOSE: Image processing library 00007 * COPYRIGHT: (C) 1999, 2005 by the GRASS Development Team 00008 * 00009 * This program is free software under the GNU General Public 00010 * License (>=v2). Read the file COPYING that comes with GRASS 00011 * for details. 00012 * 00013 *****************************************************************************/ 00014 00015 /*********************************************************** 00016 * I_fopen_group_ref_new (group) 00017 * I_fopen_group_ref_old (group) 00018 * 00019 * fopen() the imagery group reference file (containing the number 00020 * of files and the names of the cell files which comprise 00021 * the group) 00022 **********************************************************/ 00023 #include <grass/imagery.h> 00024 00025 FILE *I_fopen_group_ref_new(const char *group) 00026 { 00027 return I_fopen_group_file_new(group, "REF"); 00028 } 00029 00030 FILE *I_fopen_group_ref_old(const char *group) 00031 { 00032 return I_fopen_group_file_old(group, "REF"); 00033 } 00034 00035 /* 00036 FILE * 00037 I_fopen_group_ref_append ( 00038 const char *group) 00039 { 00040 return I_fopen_group_file_append (group, "REF"); 00041 } 00042 */ 00043 00044 FILE *I_fopen_subgroup_ref_new(const char *group, const char *subgroup) 00045 { 00046 return I_fopen_subgroup_file_new(group, subgroup, "REF"); 00047 } 00048 00049 FILE *I_fopen_subgroup_ref_old(const char *group, const char *subgroup) 00050 { 00051 FILE *fd; 00052 00053 fd = I_fopen_subgroup_file_old(group, subgroup, "REF"); 00054 return fd; 00055 }