zlib inflate exports cleanup

master
Vitaly Puzrin 2014-03-12 04:07:21 +04:00
rodzic 1079e6d9eb
commit 9b4b6b9a30
1 zmienionych plików z 6 dodań i 63 usunięć

Wyświetl plik

@ -1522,81 +1522,24 @@ function inflateEnd(strm) {
return Z_OK;
}
function inflateGetDictionary(/*strm, dictionary, dictLength*/) {
}
function inflateSetDictionary(/*strm, dictionary, dictLength*/) {
}
function inflateGetHeader(/*strm, head*/) {
}
/*
Search buf[0..len-1] for the pattern: 0, 0, 0xff, 0xff. Return when found
or when out of input. When called, *have is the number of pattern bytes
found in order so far, in 0..3. On return *have is updated to the new
state. If on return *have equals four, then the pattern was found and the
return value is how many bytes were read including the last byte of the
pattern. If *have is less than four, then the pattern has not been found
yet and the return value is len. In the latter case, syncsearch() can be
called again with more data and the *have state. *have is initialized to
zero for the first call.
*/
//function syncsearch(/*have, buf, len*/) {
//
//}
function inflateSync(/*strm*/) {
}
function inflateSyncPoint(/*strm*/) {
}
function inflateCopy(/*dest, source*/) {
}
function inflateUndermine(/*strm, subvert*/) {
}
function inflateMark(/*strm*/) {
}
exports.inflateResetKeep = inflateResetKeep;
exports.inflateReset = inflateReset;
exports.inflateReset2 = inflateReset2;
exports.inflateInit2 = inflateInit2;
exports.inflateResetKeep = inflateResetKeep;
exports.inflateInit = inflateInit;
exports.inflateInit2 = inflateInit2;
exports.inflatePrime = inflatePrime;
exports.inflate = inflate;
exports.inflateEnd = inflateEnd;
exports.inflateInfo = 'pako inflate (from Nodeca project)';
/* Not implemented
exports.inflateGetDictionary = inflateGetDictionary;
exports.inflateGetHeader = inflateGetHeader;
exports.inflateSetDictionary = inflateSetDictionary;
exports.inflateSync = inflateSync;
exports.inflateSyncPoint = inflateSyncPoint;
exports.inflateCopy = inflateCopy;
exports.inflateUndermine = inflateUndermine;
exports.inflateMark = inflateMark;
exports.inflateMark = inflateMark;
*/