aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/simple_encoder.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/liblzma/simple/simple_encoder.h (renamed from src/liblzma/common/raw_encoder.h)17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/liblzma/common/raw_encoder.h b/src/liblzma/simple/simple_encoder.h
index 4e148489..be4ca9fc 100644
--- a/src/liblzma/common/raw_encoder.h
+++ b/src/liblzma/simple/simple_encoder.h
@@ -1,9 +1,9 @@
///////////////////////////////////////////////////////////////////////////////
//
-/// \file raw_encoder.h
-/// \brief Raw encoder initialization API
+/// \file simple_encoder.c
+/// \brief Properties encoder for simple filters
//
-// Copyright (C) 2007 Lasse Collin
+// Copyright (C) 2007-2008 Lasse Collin
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@ -17,13 +17,14 @@
//
///////////////////////////////////////////////////////////////////////////////
-#ifndef LZMA_RAW_ENCODER_H
-#define LZMA_RAW_ENCODER_H
+#ifndef LZMA_SIMPLE_ENCODER_H
+#define LZMA_SIMPLE_ENCODER_H
-#include "raw_common.h"
+#include "simple_coder.h"
-extern lzma_ret lzma_raw_encoder_init(lzma_next_coder *next,
- lzma_allocator *allocator, const lzma_options_filter *options);
+extern lzma_ret lzma_simple_props_size(uint32_t *size, const void *options);
+
+extern lzma_ret lzma_simple_props_encode(const void *options, uint8_t *out);
#endif