packio

diff src/archive_flat.h @ 1:a5728bc6a02f

moving along
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 09 Jan 2015 02:31:29 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/archive_flat.h	Fri Jan 09 02:31:29 2015 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +#include <stdio.h>
     1.5 +#include <stdlib.h>
     1.6 +#include "archive.h"
     1.7 +
     1.8 +
     1.9 +static struct archive *load_archive(FILE *fp, void *data)
    1.10 +{
    1.11 +}
    1.12 +
    1.13 +static int close_archive(struct archive *ar, void *data)
    1.14 +{
    1.15 +}
    1.16 +
    1.17 +
    1.18 +static AR_FILE *open_file(struct archive *ar, const char *path, void *data)
    1.19 +{
    1.20 +}
    1.21 +
    1.22 +static int close_file(struct archive *ar, AR_FILE *fp, void *data)
    1.23 +{
    1.24 +}
    1.25 +
    1.26 +static int read_file(struct archive *ar, AR_FILE *fp, void *buf, int sz, void *data)
    1.27 +{
    1.28 +}
    1.29 +
    1.30 +static int write_file(struct archive *ar, AR_FILE *fp, void *buf, int sz, void *data)
    1.31 +{
    1.32 +}
    1.33 +
    1.34 +static int seek_file(struct archive *ar, AR_FILE *fp, int offs, int whence, void *data)
    1.35 +{
    1.36 +}