Annotation of win32/gnome/gdome2-x.x.x/libgdome/gdome-private-list.h, revision 1.1
1.1 ! paf 1: /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */
! 2: /* gdome-private-list.h
! 3: *
! 4: * Copyright (C) 1999 Raph Levien <raph@acm.org>
! 5: * Copyright (C) 2000 Mathieu Lacage <mathieu@gnu.org>
! 6: * Copyright (C) 2000 Anders Carlsson <andersca@gnu.org>
! 7: * Copyright (C) 2001 Paolo Casarini <paolo@casarini.org>
! 8: *
! 9: * This library is free software; you can redistribute it and/or
! 10: * modify it under the terms of the GNU Lesser General Public
! 11: * License as published by the Free Software Foundation; either
! 12: * version 2.1 of the License, or (at your option) any later version.
! 13: *
! 14: * This library is distributed in the hope that it will be useful,
! 15: * but WITHOUT ANY WARRANTY; without even the implied warranty of
! 16: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
! 17: * Lesser General Public License for more details.
! 18: *
! 19: * You should have received a copy of the GNU Lesser General Public
! 20: * License along with this library; if not, write to the Free Software
! 21: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
! 22: */
! 23:
! 24: #ifndef GDOME_PRIVATE_LIST_H
! 25: #define GDOME_PRIVATE_LIST_H
! 26:
! 27: #ifdef __cplusplus
! 28: extern "C" {
! 29: #endif /* __cplusplus */
! 30:
! 31: typedef struct _GdomePrivateList GdomePrivateList;
! 32:
! 33: struct _GdomePrivateList {
! 34: void *data;
! 35: GdomePrivateList *next;
! 36: };
! 37:
! 38: GdomePrivateList *gdome_private_list_append (GdomePrivateList *list,
! 39: void *data);
! 40: GdomePrivateList *gdome_private_list_prepend (GdomePrivateList *list,
! 41: void *data);
! 42: unsigned int gdome_private_list_length (GdomePrivateList *list);
! 43: GdomePrivateList *gdome_private_list_remove (GdomePrivateList *list,
! 44: void *data);
! 45: GdomePrivateList *gdome_private_list_nth (GdomePrivateList *list,
! 46: unsigned int n);
! 47:
! 48: #ifdef __cplusplus
! 49: }
! 50: #endif /* __cplusplus */
! 51:
! 52: #endif /* GDOME_PRIVATE_LIST_H */
! 53:
! 54:
! 55:
E-mail: