aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/simple/simple_decoder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-08-28 22:53:15 +0300
committerLasse Collin <lasse.collin@tukaani.org>2008-08-28 22:53:15 +0300
commit3b34851de1eaf358cf9268922fa0eeed8278d680 (patch)
tree7bab212af647541df64227a8d350d17a2e789f6b /src/liblzma/simple/simple_decoder.h
parentFix test_filter_flags to match the new restriction of lc+lp. (diff)
downloadxz-3b34851de1eaf358cf9268922fa0eeed8278d680.tar.xz
Sort of garbage collection commit. :-| Many things are still
broken. API has changed a lot and it will still change a little more here and there. The command line tool doesn't have all the required changes to reflect the API changes, so it's easy to get "internal error" or trigger assertions.
Diffstat (limited to '')
-rw-r--r--src/liblzma/simple/simple_decoder.h (renamed from src/liblzma/common/raw_decoder.h)18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/liblzma/common/raw_decoder.h b/src/liblzma/simple/simple_decoder.h
index c0e626a8..7d1f3d35 100644
--- a/src/liblzma/common/raw_decoder.h
+++ b/src/liblzma/simple/simple_decoder.h
@@ -1,9 +1,9 @@
///////////////////////////////////////////////////////////////////////////////
//
-/// \file raw_decoder.h
-/// \brief Raw decoder initialization API
+/// \file simple_decoder.h
+/// \brief Properties decoder 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,13 @@
//
///////////////////////////////////////////////////////////////////////////////
-#ifndef LZMA_RAW_DECODER_H
-#define LZMA_RAW_DECODER_H
+#ifndef LZMA_SIMPLE_DECODER_H
+#define LZMA_SIMPLE_DECODER_H
-#include "raw_common.h"
+#include "simple_coder.h"
-
-extern lzma_ret lzma_raw_decoder_init(lzma_next_coder *next,
- lzma_allocator *allocator, const lzma_options_filter *options);
+extern lzma_ret lzma_simple_props_decode(
+ void **options, lzma_allocator *allocator,
+ const uint8_t *props, size_t props_size);
#endif