X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=common-src%2Fglib-util.h;h=01f1331333dcb09157cc0b2c60d560af8cb2cb95;hb=410e1914f1e53a812bcbb4601c90b9506f98ace1;hp=bc54c53a6d492bfa3ec9e20962c55101d15f3961;hpb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;p=debian%2Famanda diff --git a/common-src/glib-util.h b/common-src/glib-util.h index bc54c53..01f1331 100644 --- a/common-src/glib-util.h +++ b/common-src/glib-util.h @@ -1,21 +1,21 @@ /* - * Copyright (c) 2005-2008 Zmanda Inc. All Rights Reserved. - * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License version 2.1 as - * published by the Free Software Foundation. - * - * This library is distributed in the hope that it will be useful, but + * Copyright (c) 2007,2008,2009 Zmanda, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License version 2 as published + * by the Free Software Foundation. + * + * 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 Lesser General Public - * License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. - * - * Contact information: Zmanda Inc., 465 S Mathlida Ave, Suite 300 - * Sunnyvale, CA 94086, USA, or: http://www.zmanda.com + * 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 + * + * Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300 + * Sunnyvale, CA 94085, USA, or: http://www.zmanda.com */ /* * Utilities that aren't quite included in glib @@ -66,6 +66,7 @@ GValue* g_value_unset_copy(const GValue* from, GValue * to); * pointers in the container before free()ing the container itself. */ void g_list_free_full(GList * list); void g_slist_free_full(GSList * list); +void g_slist_free_full_gpointer(gpointer list); void g_queue_free_full(GQueue * queue); void g_ptr_array_free_full(GPtrArray * array); @@ -121,7 +122,7 @@ void g_ptr_array_foreach (GPtrArray *array, #endif /* functions for g_hash_table_new to hash and compare case-insensitive strings */ -guint g_str_case_hash(gconstpointer v); -gboolean g_str_case_equal(gconstpointer v1, gconstpointer v2); +guint g_str_amanda_hash(gconstpointer v); +gboolean g_str_amanda_equal(gconstpointer v1, gconstpointer v2); #endif