commit | 194b9608715f4763f3036c011da3aa0ec3ad40ea | [log] [tgz] |
---|---|---|
author | Dieter Baron <dillo@danbala.tuwien.ac.at> | Sun Jul 25 22:40:10 1999 +0000 |
committer | Dieter Baron <dillo@danbala.tuwien.ac.at> | Sun Jul 25 22:40:10 1999 +0000 |
tree | cc0384d51dcf355217fbbaab17b0fc955c98b42e | |
parent | 663d70e98586c34459424fe3f49ca5939348580a [diff] [blame] |
all entry points from zip.c splitted --HG-- branch : HEAD
diff --git a/lib/zip_add_file.c b/lib/zip_add_file.c new file mode 100644 index 0000000..bc7490a --- /dev/null +++ b/lib/zip_add_file.c
@@ -0,0 +1,11 @@ +#include "zip.h" +#include "zipint.h" + + + +int +zip_add_file(struct zip *zf, char *name, struct zip_meta *meta, + FILE *file, int start, int len) +{ + return zip_replace_file(zf, -1, name, meta, file, start, len); +}