summaryrefslogtreecommitdiff
path: root/glib.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2000-10-09 16:24:57 +0000
committerHavoc Pennington <hp@src.gnome.org>2000-10-09 16:24:57 +0000
commit8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c (patch)
treef0c97f4c8d40039033a67ade0b0123413b9930b1 /glib.h
parent18e7dc021591bcaedb922a553d5bc0e0b966b6d9 (diff)
downloadglib-8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c.tar.gz
glib-8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c.tar.bz2
glib-8e3a3eef63c3c298c93fa8f8e827b10dd1b6327c.zip
Add new files.
2000-10-09 Havoc Pennington <hp@redhat.com> * Makefile.am, tests/Makefile.am: Add new files. * tests/spawn-test.c, tests/shell-test.c: new tests for the shell/spawn stuff * gutils.c (g_find_program_in_path): convert a relative program name into an absolute pathname to an existing executable * gspawn.h, gspawn.c: New fork/exec API * gshell.h, gshell.c: Shell-related utilities, at the moment simply routines to parse argv and quote/unquote strings * guniprop.c (g_unichar_isspace): Return TRUE for the ASCII space characters isspace() returns TRUE for. * gfileutils.c (g_file_get_contents): Convenience function to slurp entire file into a string and return it. Partially written by Joel Becker. (g_file_test): file test function
Diffstat (limited to 'glib.h')
-rw-r--r--glib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/glib.h b/glib.h
index 42e9acae7..d6d53ae4f 100644
--- a/glib.h
+++ b/glib.h
@@ -1831,6 +1831,8 @@ gchar* g_getenv (const gchar *variable);
*/
void g_atexit (GVoidFunc func);
+/* Look for an executable in PATH, following execvp() rules */
+gchar* g_find_program_in_path (const gchar *program);
/* Bit tests
*/
@@ -3506,5 +3508,9 @@ gchar* g_convert_with_fallback (const gchar *str,
#endif /* __cplusplus */
#include <gunicode.h>
+#include <gerror.h>
+#include <gshell.h>
+#include <gspawn.h>
+#include <gfileutils.h>
#endif /* __G_LIB_H__ */