diff --git a/Makefile.am b/Makefile.am index f1b5ce1..99dfb14 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,12 +20,14 @@ pkginclude_HEADERS = \ include/igloo/ro.h \ include/igloo/types.h \ include/igloo/typedef.h \ - include/igloo/buffer.h + include/igloo/buffer.h \ + include/igloo/list.h libigloo_la_SOURCES = \ src/libigloo.c \ src/ro.c \ - src/buffer.c + src/buffer.c \ + src/list.c libigloo_la_LIBADD = \ avl/libiceavl.la \ httpp/libicehttpp.la \ diff --git a/include/igloo/list.h b/include/igloo/list.h new file mode 100644 index 0000000..d5eaa3b --- /dev/null +++ b/include/igloo/list.h @@ -0,0 +1,30 @@ +/* Copyright (C) 2018 Philipp "ph3-der-loewe" Schafft + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifndef _LIBIGLOO__LIST_H_ +#define _LIBIGLOO__LIST_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/list.c b/src/list.c new file mode 100644 index 0000000..480dfbc --- /dev/null +++ b/src/list.c @@ -0,0 +1,23 @@ +/* Copyright (C) 2018 Philipp "ph3-der-loewe" Schafft + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include