X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fpio.h;h=359edc917fb778bf1f7dbbaf7a780d1ff7c3a193;hb=474ab6fa492a8b1dde963fdecb1edebc111c5fb2;hp=a06a6908c2b216df5689f176db670bb1d129f94e;hpb=9a8af404ffbfb331575dc4b37b044d49d728be8b;p=ppastats.git diff --git a/src/pio.h b/src/pio.h index a06a690..359edc9 100644 --- a/src/pio.h +++ b/src/pio.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2010-2014 jeanfi@gmail.com + Copyright (C) 2010-2015 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 @@ -20,7 +20,7 @@ #ifndef _P_IO_H #define _P_IO_H -#define P_IO_VER 1 +#define P_IO_VER 4 /* Returns '1' if a given 'path' denotates a directory else returns 0 */ @@ -70,6 +70,8 @@ void file_copy_print_error(int code, const char *src, const char *dst); */ int file_copy(const char *src, const char *dst); +int dir_rcopy(const char *, const char *); + void mkdirs(const char *dirs, mode_t mode); #endif