From d3442bc780473f0cd4f378bc31130d4579da640b Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 20 Feb 2000 23:43:02 +0000 Subject: Move the registration of callback functions to special functions designed for that. This removes the potential error to mix data and function pointers. Please note that I'm a little unsure how incorrect calls to the old ctrl functions should be handled, in som cases. I currently return 0 and that's it, but it may be more correct to generate a genuine error in those cases. --- crypto/comp/comp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/comp') diff --git a/crypto/comp/comp.h b/crypto/comp/comp.h index 93bd9c34c8..811cb5833d 100644 --- a/crypto/comp/comp.h +++ b/crypto/comp/comp.h @@ -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 -- cgit v1.2.3