|
|
@@ -63,16 +63,16 @@ struct tar_entry {
|
|
|
};
|
|
|
|
|
|
typedef int tar_read_func(void *ctx, char *buffer, int length);
|
|
|
-typedef int tar_func(void *ctx, struct tar_entry *h);
|
|
|
+typedef int tar_make_func(void *ctx, struct tar_entry *h);
|
|
|
|
|
|
struct tar_operations {
|
|
|
tar_read_func *read;
|
|
|
|
|
|
- tar_func *extract_file;
|
|
|
- tar_func *link;
|
|
|
- tar_func *symlink;
|
|
|
- tar_func *mkdir;
|
|
|
- tar_func *mknod;
|
|
|
+ tar_make_func *extract_file;
|
|
|
+ tar_make_func *link;
|
|
|
+ tar_make_func *symlink;
|
|
|
+ tar_make_func *mkdir;
|
|
|
+ tar_make_func *mknod;
|
|
|
};
|
|
|
|
|
|
int tar_extractor(void *ctx, const struct tar_operations *ops);
|