create.h

mail@pastecode.io avatar
unknown
plain_text
8 months ago
464 B
1
Indexable
Never
#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"
#include "list.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