source: protocols/yahoo/yahoo_list.h @ 277674c

Last change on this file since 277674c was 277674c, checked in by Wilmer van der Gaast <wilmer@…>, at 2006-01-13T16:41:46Z

Got rid of yahoo_list, since GLib has this all already. Couldn't test too well if this breaks anything, but it shouldn't.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 * yahoo_list.h: linked list routines
3 *
4 * Some code copyright (C) 2002-2004, Philip S Tellis <philip.tellis AT gmx.net>
5 * Other code copyright Meredydd Luff <meredydd AT everybuddy.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
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.
16 *
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  USA
20 *
21 */
22
23#ifndef __YLIST_H__
24#define __YLIST_H__
25
26/* GLib has linked list already, so I don't see why libyahoo2 has to copy this... */
27
28typedef GList YList;
29
30#define y_list_append g_list_append
31#define y_list_concat g_list_concat
32#define y_list_copy g_list_copy
33#define y_list_empty g_list_empty
34#define y_list_find g_list_find
35#define y_list_find_custom g_list_find_custom
36#define y_list_foreach g_list_foreach
37#define y_list_free g_list_free
38#define y_list_free_1 g_list_free_1
39#define y_list_insert_sorted g_list_insert_sorted
40#define y_list_length g_list_length
41#define y_list_next g_list_next
42#define y_list_nth g_list_nth
43#define y_list_prepend g_list_prepend
44#define y_list_remove g_list_remove
45#define y_list_remove_link g_list_remove_link
46#define y_list_singleton g_list_singleton
47
48#endif
Note: See TracBrowser for help on using the repository browser.