GRASS 8 Programmer's Manual 8.6.0dev(2026)-1878fdfec5
Loading...
Searching...
No Matches
ref.c
Go to the documentation of this file.
1/****************************************************************************
2 *
3 * MODULE: imagery library
4 * AUTHOR(S): Original author(s) name(s) unknown - written by CERL
5 * PURPOSE: Image processing library
6 * SPDX-FileCopyrightText: 1999, 2005 GRASS Development Team
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 *
9 *****************************************************************************/
10
11/***********************************************************
12 * I_fopen_group_ref_new (group)
13 * I_fopen_group_ref_old (group)
14 *
15 * fopen() the imagery group reference file (containing the number
16 * of files and the names of the cell files which comprise
17 * the group)
18 **********************************************************/
19
20#include <grass/imagery.h>
21
22FILE *I_fopen_group_ref_new(const char *group)
23{
24 return I_fopen_group_file_new(group, "REF");
25}
26
27FILE *I_fopen_group_ref_old(const char *group)
28{
29 return I_fopen_group_file_old(group, "REF");
30}
31
32FILE *I_fopen_group_ref_old2(const char *group, const char *mapset)
33{
34 return I_fopen_group_file_old2(group, mapset, "REF");
35}
36
37/*
38 FILE *
39 I_fopen_group_ref_append (
40 const char *group)
41 {
42 return I_fopen_group_file_append (group, "REF");
43 }
44 */
45
46FILE *I_fopen_subgroup_ref_new(const char *group, const char *subgroup)
47{
48 return I_fopen_subgroup_file_new(group, subgroup, "REF");
49}
50
51FILE *I_fopen_subgroup_ref_old(const char *group, const char *subgroup)
52{
53 FILE *fd;
54
55 fd = I_fopen_subgroup_file_old(group, subgroup, "REF");
56 return fd;
57}
58
59FILE *I_fopen_subgroup_ref_old2(const char *group, const char *subgroup,
60 const char *mapset)
61{
62 FILE *fd;
63
64 fd = I_fopen_subgroup_file_old2(group, subgroup, mapset, "REF");
65 return fd;
66}
FILE * I_fopen_subgroup_file_new(const char *, const char *, const char *)
Definition fopen.c:123
FILE * I_fopen_group_file_old2(const char *, const char *, const char *)
Open group file for reading.
Definition fopen.c:117
FILE * I_fopen_group_file_old(const char *, const char *)
Open group file for reading.
Definition fopen.c:102
FILE * I_fopen_subgroup_file_old2(const char *, const char *, const char *, const char *)
Definition fopen.c:173
FILE * I_fopen_subgroup_file_old(const char *, const char *, const char *)
Definition fopen.c:167
FILE * I_fopen_group_file_new(const char *, const char *)
Definition fopen.c:69
FILE * I_fopen_subgroup_ref_old(const char *group, const char *subgroup)
Definition ref.c:51
FILE * I_fopen_group_ref_old(const char *group)
Definition ref.c:27
FILE * I_fopen_group_ref_old2(const char *group, const char *mapset)
Definition ref.c:32
FILE * I_fopen_group_ref_new(const char *group)
Definition ref.c:22
FILE * I_fopen_subgroup_ref_old2(const char *group, const char *subgroup, const char *mapset)
Definition ref.c:59
FILE * I_fopen_subgroup_ref_new(const char *group, const char *subgroup)
Definition ref.c:46