From 24b4bfbea1c5d935817391198ad0c14aabc8373b Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Fri, 13 Oct 2000 08:16:54 +0000 Subject: [PATCH] Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp., 2000-10-13 Sebastian Wilhelmi * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, g_node_insert_after and g_find_program_in_path resp., which mysteriously disappeared during the glib.h dissection. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-0 | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-12 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ glib/gnode.h | 3 +++ glib/gtypes.h | 1 + glib/gutils.h | 2 ++ gnode.h | 3 +++ gtypes.h | 1 + gutils.h | 2 ++ 14 files changed, 60 insertions(+) diff --git a/ChangeLog b/ChangeLog index d2d1e44..5e82e1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d2d1e44..5e82e1e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2000-10-13 Sebastian Wilhelmi + + * gtypes.h, gnode.h, gutils.h: Readded GFreeFunc, + g_node_insert_after and g_find_program_in_path resp., which + mysteriously disappeared during the glib.h dissection. + 2000-10-12 Sebastian Wilhelmi * glibconfig.h.win32.in: Adapted accordingly to header separation diff --git a/glib/gnode.h b/glib/gnode.h index 2b9b21d..c4a9c5f 100644 --- a/glib/gnode.h +++ b/glib/gnode.h @@ -84,6 +84,9 @@ GNode* g_node_insert (GNode *parent, GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); +GNode* g_node_insert_after (GNode *parent, + GNode *sibling, + GNode *node); GNode* g_node_prepend (GNode *parent, GNode *node); guint g_node_n_nodes (GNode *root, diff --git a/glib/gtypes.h b/glib/gtypes.h index ac856a7..cfe572b 100644 --- a/glib/gtypes.h +++ b/glib/gtypes.h @@ -76,6 +76,7 @@ typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); +typedef void (*GFreeFunc) (gpointer data); /* Define some mathematical constants that aren't available * symbolically in some strict ISO C implementations. diff --git a/glib/gutils.h b/glib/gutils.h index 62cc215..c4dcb1b 100644 --- a/glib/gutils.h +++ b/glib/gutils.h @@ -183,6 +183,8 @@ typedef void (*GVoidFunc) (void); */ 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 */ diff --git a/gnode.h b/gnode.h index 2b9b21d..c4a9c5f 100644 --- a/gnode.h +++ b/gnode.h @@ -84,6 +84,9 @@ GNode* g_node_insert (GNode *parent, GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); +GNode* g_node_insert_after (GNode *parent, + GNode *sibling, + GNode *node); GNode* g_node_prepend (GNode *parent, GNode *node); guint g_node_n_nodes (GNode *root, diff --git a/gtypes.h b/gtypes.h index ac856a7..cfe572b 100644 --- a/gtypes.h +++ b/gtypes.h @@ -76,6 +76,7 @@ typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); +typedef void (*GFreeFunc) (gpointer data); /* Define some mathematical constants that aren't available * symbolically in some strict ISO C implementations. diff --git a/gutils.h b/gutils.h index 62cc215..c4dcb1b 100644 --- a/gutils.h +++ b/gutils.h @@ -183,6 +183,8 @@ typedef void (*GVoidFunc) (void); */ 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 */ -- 2.7.4