Back to index

php5  5.3.10
zip_add.c File Reference
#include "zipint.h"

Go to the source code of this file.


 zip_add (struct zip *za, const char *name, struct zip_source *source)

Function Documentation

zip_add ( struct zip za,
const char *  name,
struct zip_source source 

Definition at line 41 of file zip_add.c.

    if (name == NULL || source == NULL) {
       _zip_error_set(&za->error, ZIP_ER_INVAL, 0);
       return -1;

    return _zip_replace(za, -1, name, source);

Here is the call graph for this function: