1 /* libquvi
2  * Copyright (C) 2011  Toni Gundogdu <legatvs@gmail.com>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  * 02110-1301  USA
18  */
19 
20 #ifndef quvi_llst_h
21 #define quvi_llst_h
22 
23 /* Title: llst.h */
24 
25 /*
26  * Typedef: Handles
27  *
28  * quvi_llst_node_t Node handle
29  */
30 typedef void *quvi_llst_node_t;
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif /* __cplusplus */
35 
36   QUVIcode         quvi_llst_append(quvi_llst_node_t *node, void *data);
37   size_t           quvi_llst_size(quvi_llst_node_t node);
38   quvi_llst_node_t quvi_llst_next(quvi_llst_node_t node);
39   void            *quvi_llst_data(quvi_llst_node_t node);
40   void             quvi_llst_free(quvi_llst_node_t *node);
41 
42 #ifdef __cplusplus
43 }
44 #endif /* __cplusplus */
45 
46 #endif /* quvi_llst_h */
47 
48 /* vim: set ts=2 sw=2 tw=72 expandtab: */
49