Skip to content

Commit 018fd01

Browse files
committed
Port zlibConst from UnshieldSharp
1 parent 910b01b commit 018fd01

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
namespace SabreTools.Compression.zlib
2+
{
3+
public static class zlibConst
4+
{
5+
public const int Z_NO_FLUSH = 0;
6+
public const int Z_PARTIAL_FLUSH = 1;
7+
public const int Z_SYNC_FLUSH = 2;
8+
public const int Z_FULL_FLUSH = 3;
9+
public const int Z_FINISH = 4;
10+
public const int Z_BLOCK = 5;
11+
public const int Z_TREES = 6;
12+
13+
public const int Z_OK = 0;
14+
public const int Z_STREAM_END = 1;
15+
public const int Z_NEED_DICT = 2;
16+
public const int Z_ERRNO = (-1);
17+
public const int Z_STREAM_ERROR = (-2);
18+
public const int Z_DATA_ERROR = (-3);
19+
public const int Z_MEM_ERROR = (-4);
20+
public const int Z_BUF_ERROR = (-5);
21+
public const int Z_VERSION_ERROR = (-6);
22+
}
23+
}

0 commit comments

Comments
 (0)