X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flist.h;fp=src%2Flist.h;h=f2115c86cffcffdbaaf1cdab36b85ab1e0a3dea6;hb=05efb0b6dfba33b3dc441b4bbb795d056d404399;hp=0000000000000000000000000000000000000000;hpb=ed75fc7814a293378aedf473a29c2f161af673b4;p=ppastats.git diff --git a/src/list.h b/src/list.h new file mode 100644 index 0000000..f2115c8 --- /dev/null +++ b/src/list.h @@ -0,0 +1,26 @@ +/* + Copyright (C) 2011 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 _PPASTATS_LIST_H_ +#define _PPASTATS_LIST_H_ + +int list_length(void **list); +void **list_add(void **list, void *new_item); + +#endif