Back to index

php5  5.3.10
Functions
zip_set_archive_flag.c File Reference
#include "zipint.h"

Go to the source code of this file.

Functions

 zip_set_archive_flag (struct zip *za, int flag, int value)

Function Documentation

zip_set_archive_flag ( struct zip za,
int  flag,
int  value 
)

Definition at line 41 of file zip_set_archive_flag.c.

{
    if (value)
       za->ch_flags |= flag;
    else
       za->ch_flags &= ~flag;

    return 0;
}