GRASS GIS 8 Programmer's Manual  8.4.0dev(2024)-535c39c9fc
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 81 of file fopen.c.

References _, file, 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 102 of file fopen.c.

References file, 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 117 of file fopen.c.

References file, and 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 167 of file fopen.c.

References file, 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 173 of file fopen.c.

References file, and fopen_subgroup_file_old().

Referenced by I_fopen_subgroup_ref_old2().