diff --git a/ChangeLog b/ChangeLog index d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 d2d1e4401..5e82e1ebc 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 2b9b21d64..c4a9c5f69 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 ac856a7d8..cfe572b1f 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 62cc2154e..c4dcb1b8a 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 2b9b21d64..c4a9c5f69 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 ac856a7d8..cfe572b1f 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 62cc2154e..c4dcb1b8a 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 */