X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fio.h;h=e5a217c1f7b117181e8038394711285f41334b34;hb=2b74afd29d7b9aebf9bd459f0aab5c420bb2a82d;hp=b06709f3d65d15ca773681531076c663b852c6b6;hpb=6b077ee78bd064474b576e076383503e682a1dd2;p=ppastats.git diff --git a/src/io.h b/src/io.h index b06709f..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 @@ -41,4 +41,10 @@ enum file_copy_code { */ 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