GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imagery/find.c File Reference
#include <grass/imagery.h>
#include <grass/gis.h>
Include dependency graph for imagery/find.c:

Go to the source code of this file.

Functions

int I_find_group (const char *group)
 does group exist? More...
 
int I_find_group_file (const char *group, const char *file)
 
int I_find_subgroup (const char *group, const char *subgroup)
 
int I_find_subgroup_file (const char *group, const char *subgroup, const char *file)
 

Function Documentation

int I_find_group ( const char *  group)

does group exist?

Returns 1 if the specified group exists in the current mapset; 0 otherwise.

Parameters
group
Returns
int

Definition at line 21 of file imagery/find.c.

References G_find_file2(), G_mapset(), and NULL.

Referenced by I_ask_group_old(), I_find_group_file(), I_find_subgroup(), I_find_subgroup_file(), I_get_subgroup(), and I_put_subgroup().

int I_find_group_file ( const char *  group,
const char *  file 
)

Definition at line 29 of file imagery/find.c.

References G_find_file2_misc(), G_mapset(), I_find_group(), and NULL.

Referenced by I_fopen_group_file_old().

int I_find_subgroup ( const char *  group,
const char *  subgroup 
)

Definition at line 39 of file imagery/find.c.

References G_find_file2_misc(), G_mapset(), I_find_group(), NULL, and sprintf().

int I_find_subgroup_file ( const char *  group,
const char *  subgroup,
const char *  file 
)

Definition at line 53 of file imagery/find.c.

References G_find_file2_misc(), G_mapset(), I_find_group(), NULL, and sprintf().

Referenced by I_fopen_subgroup_file_old().