* misc.c (optsep): Add the ability to understand keyword="quoted arg with
[gnupg.git] / g10 / filter.h
index ec1c5f7..fed70c2 100644 (file)
@@ -110,7 +110,7 @@ typedef struct {
 
 
 typedef struct {
-    char *what;                        /* description */
+    char *what;                        /* description */
     u32 last_time;             /* last time reported */
     unsigned long last;                /* last amount reported */
     unsigned long offset;      /* current amount */
@@ -132,8 +132,9 @@ void        unarmor_pump_release (UnarmorPump x);
 int         unarmor_pump (UnarmorPump x, int c);
 
 /*-- compress.c --*/
-int compress_filter( void *opaque, int control,
-                    IOBUF chain, byte *buf, size_t *ret_len);
+void push_compress_filter(IOBUF out,compress_filter_context_t *zfx,int algo);
+void push_compress_filter2(IOBUF out,compress_filter_context_t *zfx,
+                          int algo,int rel);
 
 /*-- cipher.c --*/
 int cipher_filter( void *opaque, int control,
@@ -149,6 +150,6 @@ int copy_clearsig_text( IOBUF out, IOBUF inp, MD_HANDLE md,
 int progress_filter (void *opaque, int control,
                     IOBUF a, byte *buf, size_t *ret_len);
 void handle_progress (progress_filter_context_t *pfx,
-                     IOBUF inp, char *name);
+                     IOBUF inp, const char *name);
 
 #endif /*G10_FILTER_H*/