-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
151 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"files.associations": { | ||
"unlink.h": "c" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,22 @@ | ||
#ifndef destroy_h | ||
#define destroy_h | ||
#include <sys/stat.h> /* mode_t */ | ||
|
||
#include <sys/stat.h> | ||
#include <sys/types.h> | ||
#include <errno.h> | ||
#include <stdlib.h> | ||
#include <fcntl.h> | ||
#include <time.h> | ||
#include <unistd.h> | ||
#include <stddef.h> | ||
#include "logger.h" /* logger */ | ||
#include <stdio.h> | ||
#include <fcntl.h> | ||
#include <unistd.h> | ||
#include <string.h> | ||
|
||
#include "logger.h" | ||
#include "tree.h" | ||
|
||
void sifs_destroy(void*); | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#include <sys/stat.h> /* mode_t */ | ||
#ifndef mkdir_h | ||
#define mkdir_h | ||
|
||
#include <sys/stat.h> | ||
#include <stdlib.h> | ||
#include <time.h> | ||
#include <unistd.h> | ||
#include <stddef.h> | ||
#include <pwd.h> | ||
#include <grp.h> | ||
#include "logger.h" /* logger */ | ||
|
||
#include "logger.h" | ||
#include "tree.h" | ||
#include "fuse.h" | ||
|
||
int sifs_mkdir(const char*, mode_t); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
#include <sys/stat.h> /* mode_t */ | ||
#ifndef mknod_h | ||
#define mknod_h | ||
|
||
#include <sys/stat.h> | ||
#include <stdlib.h> | ||
#include <time.h> | ||
#include <unistd.h> | ||
#include <stddef.h> | ||
#include <pwd.h> | ||
#include <grp.h> | ||
#include "logger.h" /* logger */ | ||
|
||
#include "logger.h" | ||
#include "tree.h" | ||
#include "fuse.h" | ||
|
||
int sifs_mknod(const char*, mode_t, dev_t); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#ifndef open_h | ||
#define open_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <unistd.h> | ||
#include <fuse.h> | ||
|
||
#include "logger.h" | ||
|
||
int sifs_open(const char*, struct fuse_file_info*); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#ifndef opendir_h | ||
#define opendir_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <fuse.h> | ||
|
||
#include "logger.h" | ||
|
||
int sifs_opendir(const char*, struct fuse_file_info*); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#ifndef read_h | ||
#define read_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <sys/stat.h> | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include <errno.h> | ||
#include <fuse.h> | ||
|
||
#include "tree.h" | ||
#include "logger.h" | ||
#include "tar_structure.h" | ||
|
||
int sifs_read(const char*, char*, size_t, off_t, struct fuse_file_info*); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
#ifndef rmdir_h | ||
#define rmdir_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <sys/stat.h> | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include <errno.h> | ||
#include <fuse.h> | ||
|
||
#include "tree.h" | ||
#include "logger.h" | ||
#include "tar_structure.h" | ||
|
||
int sifs_rmdir(const char* path); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#ifndef unlink_h | ||
#define unlink_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <sys/stat.h> | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include <errno.h> | ||
#include <fuse.h> | ||
|
||
#include "tree.h" | ||
#include "logger.h" | ||
#include "tar_structure.h" | ||
|
||
int sifs_unlink(const char* path); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
#ifndef write_h | ||
#define write_h | ||
#include "./logger.h" /* logger */ | ||
#include <fuse.h> /* fuse_file_info */ | ||
|
||
#include <sys/stat.h> | ||
#include <string.h> | ||
#include <stdlib.h> | ||
#include <errno.h> | ||
#include <fuse.h> | ||
|
||
#include "tree.h" | ||
#include "logger.h" | ||
#include "tar_structure.h" | ||
|
||
int sifs_write(const char*, const char*, size_t, off_t, struct fuse_file_info*); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.