Back to index

php5  5.3.10
Functions
zip_unchange_data.c File Reference
#include <stdlib.h>
#include "zipint.h"

Go to the source code of this file.

Functions

void _zip_unchange_data (struct zip_entry *ze)

Function Documentation

void _zip_unchange_data ( struct zip_entry ze)

Definition at line 43 of file zip_unchange_data.c.

{
    if (ze->source) {
       (void)ze->source->f(ze->source->ud, NULL, 0, ZIP_SOURCE_FREE);
       free(ze->source);
       ze->source = NULL;
    }
    
    ze->state = ze->ch_filename ? ZIP_ST_RENAMED : ZIP_ST_UNCHANGED;
}

Here is the caller graph for this function: