GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Imagery Library - Open/Create signiture files. More...
#include <string.h>
#include <grass/gis.h>
#include <grass/imagery.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
FILE * | I_fopen_sigset_file_new (const char *group, const char *subgroup, const char *name) |
Create new signiture file in given group/subgroup. More... | |
FILE * | I_fopen_sigset_file_old (const char *group, const char *subgroup, const char *name) |
Open existing signiture file in given group/subgroup. More... | |
Imagery Library - Open/Create signiture files.
(C) 2001-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file sigsetfile.c.
FILE* I_fopen_sigset_file_new | ( | const char * | group, |
const char * | subgroup, | ||
const char * | name | ||
) |
Create new signiture file in given group/subgroup.
Note: Prints warning on error and returns NULL.
group | name of group |
subgroup | name of subgroup |
name | name of signiture file |
Definition at line 32 of file sigsetfile.c.
References fd, G__make_mapset_element_misc(), G__name_is_fully_qualified(), G_fopen_new_misc(), G_mapset(), G_warning(), NULL, and sprintf().
FILE* I_fopen_sigset_file_old | ( | const char * | group, |
const char * | subgroup, | ||
const char * | name | ||
) |
Open existing signiture file in given group/subgroup.
Note: Prints warning on error and returns NULL.
group | name of group |
subgroup | name of subgroup |
name | name of signiture file |
Definition at line 76 of file sigsetfile.c.
References fd, G_fopen_old_misc(), G_mapset(), G_warning(), NULL, and sprintf().