GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
fopen.c File Reference
#include <stdio.h>
#include <grass/gis.h>
#include <grass/imagery.h>
#include <grass/glocale.h>
Include dependency graph for fopen.c:

Go to the source code of this file.

Functions

FILE * fopen_group_file_old (const char *group, const char *mapset, const char *file)
 
FILE * fopen_subgroup_file_old (const char *group, const char *subgroup, const char *mapset, const char *file)
 
FILE * I_fopen_group_file_new (const char *group, const char *file)
 
FILE * I_fopen_group_file_append (const char *group, const char *file)
 
FILE * I_fopen_group_file_old (const char *group, const char *file)
 Open group file for reading. More...
 
FILE * I_fopen_group_file_old2 (const char *group, const char *mapset, const char *file)
 Open group file for reading. More...
 
FILE * I_fopen_subgroup_file_new (const char *group, const char *subgroup, const char *file)
 
FILE * I_fopen_subgroup_file_append (const char *group, const char *subgroup, const char *file)
 
FILE * I_fopen_subgroup_file_old (const char *group, const char *subgroup, const char *file)
 
FILE * I_fopen_subgroup_file_old2 (const char *group, const char *subgroup, const char *mapset, const char *file)
 

Function Documentation

◆ fopen_group_file_old()

FILE* fopen_group_file_old ( const char *  group,
const char *  mapset,
const char *  file 
)

◆ fopen_subgroup_file_old()

FILE* fopen_subgroup_file_old ( const char *  group,
const char *  subgroup,
const char *  mapset,
const char *  file 
)

◆ I_fopen_group_file_append()

FILE* I_fopen_group_file_append ( const char *  group,
const char *  file 
)

Definition at line 83 of file fopen.c.

References _, G_fopen_append_misc(), G_mapset(), and G_warning().

◆ I_fopen_group_file_new()

FILE* I_fopen_group_file_new ( const char *  group,
const char *  file 
)

◆ I_fopen_group_file_old()

FILE* I_fopen_group_file_old ( const char *  group,
const char *  file 
)

Open group file for reading.

Internally uses G_fopen_old_misc

Parameters
group
file
Returns
FILE *

Definition at line 105 of file fopen.c.

References fopen_group_file_old(), and NULL.

Referenced by I_fopen_group_ref_old(), I_get_control_points(), I_get_group_title(), I_get_subgroup(), and I_get_target().

◆ I_fopen_group_file_old2()

FILE* I_fopen_group_file_old2 ( const char *  group,
const char *  mapset,
const char *  file 
)

Open group file for reading.

Internally uses G_fopen_old_misc

Parameters
group
mapset
file
Returns
FILE *

Definition at line 121 of file fopen.c.

References fopen_group_file_old().

Referenced by I_fopen_group_ref_old2().

◆ I_fopen_subgroup_file_append()

FILE* I_fopen_subgroup_file_append ( const char *  group,
const char *  subgroup,
const char *  file 
)

◆ I_fopen_subgroup_file_new()

FILE* I_fopen_subgroup_file_new ( const char *  group,
const char *  subgroup,
const char *  file 
)

◆ I_fopen_subgroup_file_old()

FILE* I_fopen_subgroup_file_old ( const char *  group,
const char *  subgroup,
const char *  file 
)

Definition at line 171 of file fopen.c.

References fopen_subgroup_file_old(), and NULL.

Referenced by I_fopen_subgroup_ref_old().

◆ I_fopen_subgroup_file_old2()

FILE* I_fopen_subgroup_file_old2 ( const char *  group,
const char *  subgroup,
const char *  mapset,
const char *  file 
)

Definition at line 177 of file fopen.c.

References fopen_subgroup_file_old().

Referenced by I_fopen_subgroup_ref_old2().