GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ref.c
Go to the documentation of this file.
1 
2 /****************************************************************************
3  *
4  * MODULE: imagery library
5  * AUTHOR(S): Original author(s) name(s) unknown - written by CERL
6  * PURPOSE: Image processing library
7  * COPYRIGHT: (C) 1999, 2005 by the GRASS Development Team
8  *
9  * This program is free software under the GNU General Public
10  * License (>=v2). Read the file COPYING that comes with GRASS
11  * for details.
12  *
13  *****************************************************************************/
14 
15 /***********************************************************
16 * I_fopen_group_ref_new (group)
17 * I_fopen_group_ref_old (group)
18 *
19 * fopen() the imagery group reference file (containing the number
20 * of files and the names of the cell files which comprise
21 * the group)
22 **********************************************************/
23 #include <grass/imagery.h>
24 
25 FILE *I_fopen_group_ref_new(const char *group)
26 {
27  return I_fopen_group_file_new(group, "REF");
28 }
29 
30 FILE *I_fopen_group_ref_old(const char *group)
31 {
32  return I_fopen_group_file_old(group, "REF");
33 }
34 
35 /*
36  FILE *
37  I_fopen_group_ref_append (
38  const char *group)
39  {
40  return I_fopen_group_file_append (group, "REF");
41  }
42  */
43 
44 FILE *I_fopen_subgroup_ref_new(const char *group, const char *subgroup)
45 {
46  return I_fopen_subgroup_file_new(group, subgroup, "REF");
47 }
48 
49 FILE *I_fopen_subgroup_ref_old(const char *group, const char *subgroup)
50 {
51  FILE *fd;
52 
53  fd = I_fopen_subgroup_file_old(group, subgroup, "REF");
54  return fd;
55 }
FILE * fd
Definition: g3dcolor.c:368
FILE * I_fopen_subgroup_file_old(const char *group, const char *subgroup, const char *file)
Definition: fopen.c:108
FILE * I_fopen_subgroup_ref_new(const char *group, const char *subgroup)
Definition: ref.c:44
FILE * I_fopen_subgroup_file_new(const char *group, const char *subgroup, const char *file)
Definition: fopen.c:64
FILE * I_fopen_group_file_old(const char *group, const char *file)
Definition: fopen.c:43
FILE * I_fopen_group_file_new(const char *group, const char *file)
Definition: fopen.c:17
FILE * I_fopen_group_ref_old(const char *group)
Definition: ref.c:30
FILE * I_fopen_group_ref_new(const char *group)
Definition: ref.c:25
FILE * I_fopen_subgroup_ref_old(const char *group, const char *subgroup)
Definition: ref.c:49