summaryrefslogtreecommitdiffstats
path: root/compress.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2016-11-13 20:02:33 -0800
committerKevin McCarthy <kevin@8t8.us>2016-11-13 20:02:33 -0800
commit9bf6d74e9cc5a7b6b7a62fdefd6d953d60a422db (patch)
tree52c3e9f8c6c89cc6f79ec27765c3bc5c3b4f4864 /compress.h
parentb17cd67312913bc98269840652bc5c54eba9fc20 (diff)
Compress patch from the neomutt repository.
With the following changes: - po/de.po changes trimmed to just the compress additions. - Move the sample muttrc to contrib, and add it to the Makefile.am so it is distributed. Remove the sample vimrc. - Remove extra fluff from manual. Thanks to Roland Rosenfeld for the original patch, and to the NeoMutt team for their work cleaning up the patch.
Diffstat (limited to 'compress.h')
-rw-r--r--compress.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/compress.h b/compress.h
new file mode 100644
index 00000000..26beae63
--- /dev/null
+++ b/compress.h
@@ -0,0 +1,29 @@
+/* Copyright (C) 1997 Alain Penders <Alain@Finale-Dev.com>
+ * Copyright (C) 2016 Richard Russon <rich@flatcap.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#ifndef _COMPRESS_H_
+#define _COMPRESS_H_
+
+int comp_can_append (CONTEXT *ctx);
+int comp_can_read (const char *path);
+int comp_sync (CONTEXT *ctx);
+int comp_valid_command (const char *cmd);
+
+extern struct mx_ops mx_comp_ops;
+
+#endif /* _COMPRESS_H_ */