create.h

 avatar
unknown
plain_text
a year ago
446 B
2
Indexable
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
#include <errno.h>
#include <string.h>
#include "options.h"

#ifndef CH
#define CH

int create_archive(char *tarfile);

void archive_file(int fd, char *parent_path, char *file_name);

char *create_full_path(char *parent_path, char *file_name, mode_t file_mode);

#endif
Leave a Comment