GRASS Programmer's Manual
6.5.svn(2014)-r66266
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
tools.h
Go to the documentation of this file.
1
2
/***************************************************************************
3
* tools.h
4
*
5
* Mon Apr 18 15:04:11 2005
6
* Copyright 2005 Benjamin Ducke
7
****************************************************************************/
8
9
/*
10
* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* You should have received a copy of the GNU General Public License
21
* along with this program; if not, write to the Free Software
22
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
23
*/
24
25
#ifndef _TOOLS_H
26
#define _TOOLS_H
27
28
char
*
basename
(
char
*path);
29
30
void
mkdir_s
(
char
*pathname,
char
*
mode
);
31
32
int
chop
(
char
*
string
);
33
34
int
insert_str
(
char
*str,
int
pos
,
char
**strarr);
35
36
int
delete_str
(
int
pos
,
char
**strarr);
37
38
int
find_pos
(
char
*str,
char
**strarr,
int
start);
39
40
void
dump_str
(FILE * f,
char
**strarr);
41
42
void
get_package_name
(
char
*path,
char
*
name
);
43
44
char
*
nc_fgets
(
char
*
s
,
int
size
, FILE * stream);
45
46
char
*
nc_fgets_nb
(
char
*
s
,
int
size
, FILE * stream);
47
48
char
*
nc_fgets_html
(
char
*
s
,
int
size
, FILE * stream);
49
50
void
dump_ascii
(
char
*
file
,
char
*heading);
51
52
void
dump_plain
(
char
*
file
,
char
*tmpfile);
53
54
void
dump_html
(
char
*
file
,
char
*tmpfile);
55
56
void
list_binaries
(
char
*package);
57
58
int
binaries_exist
(
char
*package,
char
*binaries);
59
60
int
check_filetype
(
char
*
file
);
61
62
void
wget_extension
(
char
*url);
63
64
void
su
(
char
*
gisbase
,
char
*
cmd
);
65
66
int
vercmp
(
int
major,
int
minor,
int
revision,
int
major2,
int
minor2,
67
int
revision2);
68
69
#endif
/* _TOOLS_H */
basename
char * basename(char *path)
Definition:
tools.c:33
forms.cmd
tuple cmd
Definition:
forms.py:2020
get_package_name
void get_package_name(char *path, char *name)
Definition:
tools.c:273
render.name
string name
Definition:
render.py:1314
dialogs.s
tuple s
Definition:
psmap/dialogs.py:2766
dump_str
void dump_str(FILE *f, char **strarr)
Definition:
tools.c:258
tools.pos
tuple pos
Definition:
tools.py:1367
dump_html
void dump_html(char *file, char *tmpfile)
Definition:
tools.c:597
delete_str
int delete_str(int pos, char **strarr)
Definition:
tools.c:190
mkdir_s
void mkdir_s(char *pathname, char *mode)
Definition:
tools.c:73
forms.gisbase
tuple gisbase
Definition:
forms.py:59
wget_extension
void wget_extension(char *url)
Definition:
tools.c:766
check_filetype
int check_filetype(char *myfile)
Definition:
tools.c:737
tools.size
tuple size
value.Bind(wx.EVT_TEXT, self.OnVolumeIsosurfMap)
Definition:
tools.py:2334
list_binaries
void list_binaries(char *package)
Definition:
tools.c:642
vercmp
int vercmp(int major, int minor, int revision, int major2, int minor2, int revision2)
Definition:
tools.c:832
nc_fgets
char * nc_fgets(char *s, int size, FILE *stream)
Definition:
tools.c:307
nc_fgets_html
char * nc_fgets_html(char *s, int size, FILE *stream)
Definition:
tools.c:339
binaries_exist
int binaries_exist(char *package, char *binaries)
Definition:
tools.c:690
find_pos
int find_pos(char *str, char **strarr, int start)
Definition:
tools.c:230
chop
int chop(char *string)
Definition:
tools.c:86
insert_str
int insert_str(char *str, int pos, char **strarr)
Definition:
tools.c:125
dump_ascii
void dump_ascii(char *file, char *heading)
Definition:
tools.c:539
file
#define file
su
void su(char *gisbase, char *cmd)
Definition:
tools.c:796
nc_fgets_nb
char * nc_fgets_nb(char *s, int size, FILE *stream)
Definition:
tools.c:500
dump_plain
void dump_plain(char *file, char *tmpfile)
Definition:
tools.c:563
tools.mode
tuple mode
Definition:
tools.py:1481
gem
tools.h
Generated on Sat Jan 2 2016 01:46:49 for GRASS Programmer's Manual by
1.8.5