summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 92343b4fbf8..8705507dbf8 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.342 2012/08/30 18:25:44 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.343 2012/08/30 19:33:25 chl Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org>
@@ -819,8 +819,8 @@ struct queue_backend {
};
struct compress_backend {
- int (*compress_file)(int, int);
- int (*uncompress_file)(int, int);
+ int (*compress_file)(FILE *, FILE *);
+ int (*uncompress_file)(FILE *, FILE *);
size_t (*compress_buffer)(const char *, size_t, char *, size_t);
size_t (*uncompress_buffer)(const char *, size_t, char *, size_t);
};
@@ -1100,8 +1100,8 @@ void qwalk_close(void *);
/* compress_backend.c */
struct compress_backend *compress_backend_lookup(const char *);
-int compress_file(int, int);
-int uncompress_file(int, int);
+int compress_file(FILE *, FILE *);
+int uncompress_file(FILE *, FILE *);
size_t compress_buffer(const char *, size_t, char *, size_t);
size_t uncompress_buffer(const char *, size_t, char *, size_t);