X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fio.h;h=cd040239d2a1132924b3720dea772a18d93ac99e;hb=23b63657e6e51b811ff70824a69c594039cfbf66;hp=259e2180ed99a5b7d1ab01ee8b88e0da90c494ee;hpb=eab64e6ecb435face78646153fe86c22895d8f41;p=ppastats.git diff --git a/src/io.h b/src/io.h index 259e218..cd04023 100644 --- a/src/io.h +++ b/src/io.h @@ -1,11 +1,11 @@ /* - * Copyright (C) 2011 jeanfi@gmail.com + * Copyright (C) 2011-2012 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 @@ -45,4 +45,6 @@ char *path_append(const char *odir, const char *name); void mkdirs(const char *dirs, mode_t mode); +char *file_get_content(const char *fpath); + #endif