X-Git-Url: https://git.wpitchoune.net/gitweb/?p=prss.git;a=blobdiff_plain;f=src%2Flist.h;fp=src%2Flist.h;h=fd1c962d1879e93b95d38525924db2d6ec0e56e6;hp=0000000000000000000000000000000000000000;hb=f93956db82f2d478b1a3dfd34d3fe024d4afd636;hpb=f96659e59301af90fd058031486a98317b077caa diff --git a/src/list.h b/src/list.h new file mode 100644 index 0000000..fd1c962 --- /dev/null +++ b/src/list.h @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2010-2013 jeanfi@gmail.com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA + */ + +#ifndef _TTRSS_LIST_H_ +#define _TTRSS_LIST_H_ + +int list_length(void **list); +void **list_add(void **list, void *item); +void list_free(void **list); + +#endif