X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fio.h;h=e5a217c1f7b117181e8038394711285f41334b34;hb=2b74afd29d7b9aebf9bd459f0aab5c420bb2a82d;hp=60f82b52055c6ccb66144d598e70b4c928da5536;hpb=df19eac22b08c4793607679e2ea471ae64b824fd;p=ppastats.git diff --git a/src/io.h b/src/io.h index 60f82b5..e5a217c 100644 --- a/src/io.h +++ b/src/io.h @@ -1,11 +1,11 @@ /* - * Copyright (C) 2011 jeanfi@gmail.com + * Copyright (C) 2011-2014 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