aboutsummaryrefslogtreecommitdiff
path: root/include/copy.h
blob: 80fc5fb852b983bf11e93fb9637047b0e093d2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __COPY_H
#define __COPY_H

#include <ftw.h>
#include <sys/stat.h>

#define OUTPUT "dist"
#define DIRECTORY "compromyse.xyz"

typedef struct FTW FTW;

int copy_recursively(const char *fpath,
                     const struct stat *sb,
                     int typeflag,
                     FTW *ftwbuf);

#endif