summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index c6226c1..9ee90d6 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -1024,14 +1024,13 @@ int xd3_decode_memory (const uint8_t *input,
1024 usize_t avail_output, 1024 usize_t avail_output,
1025 int flags); 1025 int flags);
1026 1026
1027/* This function encodes an in-memory input. Everything else about 1027/* This function encodes an in-memory input. The output array must be
1028 * the xd3_stream is configurable. The output array must be large 1028 * large enough to hold the output or else ENOSPC is returned. The
1029 * enough to hold the output or else ENOSPC is returned. The source 1029 * source (if any) should be set using xd3_set_source() with a
1030 * (if any) should be set using xd3_set_source() with a single-block 1030 * single-block xd3_source. This calls the underlying non-blocking
1031 * xd3_source. This calls the underlying non-blocking interface, 1031 * interface, xd3_encode_input(), handling the necessary input/output
1032 * xd3_encode_input(), handling the necessary input/output states. 1032 * states. This method be considered a reference for any application
1033 * This method be considered a reference for any application using 1033 * using xd3_encode_input() directly.
1034 * xd3_encode_input() directly.
1035 * 1034 *
1036 * xd3_stream stream; 1035 * xd3_stream stream;
1037 * xd3_config config; 1036 * xd3_config config;