stuffy/include/stuffy.h

21 lines
535 B
C
Raw Normal View History

2022-11-02 15:29:00 -05:00
#ifndef STUFFY_H
#define STUFFY_H
2022-11-08 20:37:57 -06:00
#include <sys/stat.h>
typedef struct HeaderStruct
{
char moduleName[50];
struct stat moduleInfo;
} HeaderStruct;
2022-11-02 15:29:00 -05:00
void Stuffy(int argc, char* argv[]);
int StuffyArgument(int argc, char** argv);
void StuffyAction(char* argv[], int archiveAction);
2022-11-08 20:37:57 -06:00
int IsFileArchived(int archiveFile, char* fileName);
2022-11-02 15:29:00 -05:00
void AddToArchive(char* archiveName, char* fileName);
void RemoveFromArchive(char* archiveName, char* fileName);
void ListArchive(char* archiveName);
2022-11-08 20:37:57 -06:00
void ExtractArchive(char* argv[]);
2022-11-02 15:29:00 -05:00
#endif