Support assembler for Mingw32.
[oweals/openssl.git] / crypto / comp / comp.h
index 7870a1e73656740a5b666adbfdc197609c8e1e85..811cb5833d3b518198c9df1339c15d78e6d55d5d 100644 (file)
@@ -17,6 +17,7 @@ typedef struct comp_method_st
        int (*compress)();
        int (*expand)();
        long (*ctrl)();
+       long (*callback_ctrl)();
        } COMP_METHOD;
 
 typedef struct comp_ctx_st
@@ -30,7 +31,6 @@ typedef struct comp_ctx_st
        CRYPTO_EX_DATA  ex_data;
        } COMP_CTX;
 
-#ifndef NOPROTO
 
 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth);
 void COMP_CTX_free(COMP_CTX *ctx);
@@ -43,20 +43,17 @@ COMP_METHOD *COMP_rle(void );
 COMP_METHOD *COMP_zlib(void );
 #endif
 
-#else
+/* BEGIN ERROR CODES */
+/* The following lines are auto generated by the script mkerr.pl. Any changes
+ * made after this point may be overwritten when the script is next run.
+ */
 
-COMP_CTX *COMP_CTX_new();
-void COMP_CTX_free();
-int COMP_compress_block();
-int COMP_expand_block();
-COMP_METHOD *COMP_rle();
-#ifdef ZLIB
-COMP_METHOD *COMP_zlib();
-#endif
+/* Error codes for the COMP functions. */
+
+/* Function codes. */
+
+/* Reason codes. */
 
-#endif
-/* BEGIN ERROR CODES */
 #ifdef  __cplusplus
 }
 #endif