3
* Copyright (c) 1998-2002 Mike Oliphant <oliphant@gtk.org>
5
* http://www.nostatic.org/grip
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License as
9
* published by the Free Software Foundation; either version 2 of the
10
* License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program; if not, write to the Free Software
19
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26
/* Options to use when munging strings */
28
gboolean no_underscore;
29
gboolean allow_high_bits;
31
gboolean no_lower_case;
32
char allow_these_chars[256];
35
int MakeArgs(char *str,GString **args,int maxargs);
36
void TranslateString(char *instr,GString *outstr,
37
char *(*trans_func)(char,void *,gboolean *),
38
void *user_data,gboolean do_munge_default,
39
StrTransPrefs *prefs);
40
char *ReallocStrcat(char *dest, const char *src);
41
char *MungeString(char *str,StrTransPrefs *prefs);
42
int MakeTranslatedArgs(char *str,GString **args,int maxargs,
43
char *(*trans_func)(char,void *,gboolean *),
44
void *user_data,gboolean do_munge_default,
45
StrTransPrefs *prefs);
47
void ArgsToLocale(GString **args);
49
void TranslateAndLaunch(char *cmd,char *(*trans_func)(char,void *,gboolean *),
50
void *user_data,gboolean do_munge_default,
51
StrTransPrefs *prefs,void (*close_func)(void *),
52
void *close_user_data);
54
#endif /* ifndef GRIP_LAUNCH_H */