X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fio.h;h=cd040239d2a1132924b3720dea772a18d93ac99e;hb=d44789915e0daa807138eaa8313e50808344e472;hp=60f82b52055c6ccb66144d598e70b4c928da5536;hpb=df19eac22b08c4793607679e2ea471ae64b824fd;p=ppastats.git diff --git a/src/io.h b/src/io.h index 60f82b5..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 @@ -43,4 +43,8 @@ int fcopy(const char *src, const char *dst); 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