00001 /* quvi 00002 * Copyright (C) 2011 Toni Gundogdu <legatvs@gmail.com> 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00017 * 02110-1301 USA 00018 */ 00019 00020 #ifndef quvi_llst_h 00021 #define quvi_llst_h 00022 00034 typedef void *quvi_llst_node_t; 00035 00036 #ifdef __cplusplus 00037 extern "C" { 00038 #endif /* __cplusplus */ 00039 00060 QUVIcode quvi_llst_append(quvi_llst_node_t *llst, void *data); 00061 00070 size_t quvi_llst_size(quvi_llst_node_t llst); 00071 00080 quvi_llst_node_t quvi_llst_next(quvi_llst_node_t llst); 00081 00090 void *quvi_llst_data(quvi_llst_node_t node); 00091 00098 void quvi_llst_free(quvi_llst_node_t *llst); 00099 00100 #ifdef __cplusplus 00101 } 00102 #endif /* __cplusplus */ 00103 /* End of libquvi_llst group. */ 00105 00106 #endif /* quvi_llst_h */ 00107 00108 /* vim: set ts=2 sw=2 tw=72 expandtab: */