2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these libraries and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: ll.h /main/2 1996/05/09 04:11:29 drk $ */
25 * COMPONENT_NAME: austext
27 * FUNCTIONS: LLIST_INIT
40 /* The functions in this file are defined in alloc.c */
42 typedef struct {struct ll_elem *ptr; LOCK_DESC} LL_P;
44 typedef struct ll_elem {
49 #define LL_ELEM_INIT() { POINTER_INIT(), POINTER_INIT() }
57 #define LLIST_INIT() { POINTER_INIT(), POINTER_INIT(), NULL }
59 BOOLEAN ll_access(P1(llist *));
60 int ll_append(P1(llist *) Pi(CHAR_P *));
61 #define ll_deaccess(ll) /**/
62 CHAR_P *ll_first(P1(llist *));
63 void ll_free(P1(llist *));
64 CHAR_P *ll_next(P1(llist *));
65 int ll_prepend(P1(llist *) Pi(CHAR_P *));
66 /* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin ll.h */