summaryrefslogtreecommitdiff
path: root/contrib/ada/zlib-thin.ads
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:14 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:23:14 -0700
commita2506218cd8c32416d0d15260834f3c23d910fc8 (patch)
tree25bbd63d92473c8ae02a27cce3fc7c04a6aba64a /contrib/ada/zlib-thin.ads
parentb97ec631c6f7dd9cff2e3caf3b38e70b006e1b2d (diff)
downloadzlib-a2506218cd8c32416d0d15260834f3c23d910fc8.tar.gz
zlib 1.2.0.8v1.2.0.8
Diffstat (limited to 'contrib/ada/zlib-thin.ads')
-rw-r--r--contrib/ada/zlib-thin.ads13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/ada/zlib-thin.ads b/contrib/ada/zlib-thin.ads
index 19cbb96..af1287a 100644
--- a/contrib/ada/zlib-thin.ads
+++ b/contrib/ada/zlib-thin.ads
@@ -146,6 +146,17 @@ private package ZLib.Thin is
strategy : Int)
return Int; -- zlib.h:506
+ function deflateBound
+ (strm : Z_Streamp;
+ sourceLen : ULong)
+ return Int; -- zlib.h:595
+
+ function deflatePrime
+ (strm : Z_Streamp;
+ bits : Int;
+ value : Int)
+ return Int; -- zlib.h:604
+
function inflateSetDictionary
(strm : Z_Streamp;
dictionary : Byte_Access;
@@ -421,6 +432,8 @@ private
pragma Import (C, deflateCopy, "deflateCopy");
pragma Import (C, deflateReset, "deflateReset");
pragma Import (C, deflateParams, "deflateParams");
+ pragma Import (C, deflateBound, "deflateBound");
+ pragma Import (C, deflatePrime, "deflatePrime");
pragma Import (C, inflateSetDictionary, "inflateSetDictionary");
pragma Import (C, inflateSync, "inflateSync");
pragma Import (C, inflateReset, "inflateReset");