File: parse.h

package info (click to toggle)
gdis 0.90-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 10,392 kB
  • sloc: ansic: 71,117; perl: 298; sh: 115; python: 115; makefile: 33; xml: 26
file content (46 lines) | stat: -rw-r--r-- 1,630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
Copyright (C) 2003 by Sean David Fleming

sean@ivec.org

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

The GNU GPL can also be found at http://www.gnu.org
*/

/* text manipulation prototypes */
gint copy_items(gchar *, gchar *, gint, gint);
void capitals(gchar *, gchar *);
gchar **get_tokens(gchar *, gint);
gchar *get_token_pos(gchar *, gint);
gchar **tokenize(const gchar *, gint *);
gchar *find_char(const gchar *, gint, gint);
gint char_count(const gchar *, gchar);
gdouble str_to_float(const gchar *);
gint str_is_float(const gchar *);
gint *get_keyword(gchar *, gint);
gint num_keys(void);
gint char_count(const gchar *, gchar);
GSList *get_keywords(gchar *);
GSList *get_keywords_anywhere(gchar *);
void strip_extra(gchar *);
gchar *parse_extension_set(const gchar *, const gchar *);
void parse_space_replace(gchar *, gchar);
gchar *parse_strip_extension(const gchar *);
gchar *parse_strip_newline(const gchar *);
gchar *parse_strip(const gchar *);

gchar *parse_getline_hidden(void);