summaryrefslogtreecommitdiff
path: root/delta.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@sourcefrog.net>2001-02-26 11:02:36 +0000
committerMartin Pool <mbp@sourcefrog.net>2001-02-26 11:02:36 +0000
commitac2f6e6d08bbef565b68ab4f28aaf41022afd94d (patch)
tree9c773b51f9bd7199f7b1a6202160a6d30da195fc /delta.c
parente0c2799ad517731615de7e557b14302c5dc5eaa9 (diff)
downloadlibrsync-ac2f6e6d08bbef565b68ab4f28aaf41022afd94d.tar.gz
Doc.
Consistency cleanups.
Diffstat (limited to 'delta.c')
-rw-r--r--delta.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/delta.c b/delta.c
index f75a6e0..972fda1 100644
--- a/delta.c
+++ b/delta.c
@@ -1,4 +1,4 @@
-/*= -*- c-file-style: "linux" -*-
+/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
*
* libhsync -- library for network deltas
* $Id$
@@ -45,6 +45,10 @@
#include "job.h"
+/**
+ * \brief State function that does a fake delta containing only
+ * literal data to recreate the input.
+ */
static hs_result hs_delta_s_fake(hs_job_t *job)
{
hs_stream_t * const stream = job->stream;
@@ -60,6 +64,9 @@ static hs_result hs_delta_s_fake(hs_job_t *job)
}
+/**
+ * State function for writing out the header of the encoding job.
+ */
static hs_result hs_delta_s_header(hs_job_t *job)
{
hs_emit_delta_header(job->stream);