\doxysubsection{emit.\+h}
\label{emit_8h_source}\index{emit.h@{emit.h}}
\mbox{\hyperlink{emit_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001 \textcolor{comment}{/*= -\/*-\/ c-\/basic-\/offset: 4; indent-\/tabs-\/mode: nil; -\/*-\/}}
\DoxyCodeLine{00002 \textcolor{comment}{ *}}
\DoxyCodeLine{00003 \textcolor{comment}{ * librsync -\/-\/ dynamic caching and delta update in HTTP}}
\DoxyCodeLine{00004 \textcolor{comment}{ *}}
\DoxyCodeLine{00005 \textcolor{comment}{ * Copyright (C) 2000, 2001 by Martin Pool <mbp@sourcefrog.net>}}
\DoxyCodeLine{00006 \textcolor{comment}{ *}}
\DoxyCodeLine{00007 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{00008 \textcolor{comment}{ * it under the terms of the GNU Lesser General Public License as published by}}
\DoxyCodeLine{00009 \textcolor{comment}{ * the Free Software Foundation; either version 2.1 of the License, or}}
\DoxyCodeLine{00010 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{00011 \textcolor{comment}{ *}}
\DoxyCodeLine{00012 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{00013 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{00014 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{00015 \textcolor{comment}{ * GNU Lesser General Public License for more details.}}
\DoxyCodeLine{00016 \textcolor{comment}{ *}}
\DoxyCodeLine{00017 \textcolor{comment}{ * You should have received a copy of the GNU Lesser General Public License}}
\DoxyCodeLine{00018 \textcolor{comment}{ * along with this program; if not, write to the Free Software}}
\DoxyCodeLine{00019 \textcolor{comment}{ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.}}
\DoxyCodeLine{00020 \textcolor{comment}{ */}}
\DoxyCodeLine{00021 \textcolor{comment}{}}
\DoxyCodeLine{00022 \textcolor{comment}{/** \(\backslash\)file emit.h}}
\DoxyCodeLine{00023 \textcolor{comment}{ * encoding output routines.}}
\DoxyCodeLine{00024 \textcolor{comment}{ *}}
\DoxyCodeLine{00025 \textcolor{comment}{ * \(\backslash\)todo Pluggable encoding formats: gdiff-\/style, rsync 24, ed (text), Delta}}
\DoxyCodeLine{00026 \textcolor{comment}{ * HTTP. */}}
\DoxyCodeLine{00027 \textcolor{preprocessor}{\#ifndef EMIT\_H}}
\DoxyCodeLine{00028 \textcolor{preprocessor}{\#  define EMIT\_H}}
\DoxyCodeLine{00029 }
\DoxyCodeLine{00030 \textcolor{preprocessor}{\#  include "{}librsync.h"{}}}
\DoxyCodeLine{00031 \textcolor{comment}{}}
\DoxyCodeLine{00032 \textcolor{comment}{/** Write the magic for the start of a delta. */}}
\DoxyCodeLine{00033 \textcolor{keywordtype}{void} rs\_emit\_delta\_header(rs\_job\_t *);}
\DoxyCodeLine{00034 \textcolor{comment}{}}
\DoxyCodeLine{00035 \textcolor{comment}{/** Write a LITERAL command. */}}
\DoxyCodeLine{00036 \textcolor{keywordtype}{void} rs\_emit\_literal\_cmd(rs\_job\_t *, \textcolor{keywordtype}{int} len);}
\DoxyCodeLine{00037 \textcolor{comment}{}}
\DoxyCodeLine{00038 \textcolor{comment}{/** Write a COPY command for given offset and length.}}
\DoxyCodeLine{00039 \textcolor{comment}{ *}}
\DoxyCodeLine{00040 \textcolor{comment}{ * There is a choice of variable-\/length encodings, depending on the size of}}
\DoxyCodeLine{00041 \textcolor{comment}{ * representation for the parameters. */}}
\DoxyCodeLine{00042 \textcolor{keywordtype}{void} rs\_emit\_copy\_cmd(rs\_job\_t *job, rs\_long\_t where, rs\_long\_t len);}
\DoxyCodeLine{00043 \textcolor{comment}{}}
\DoxyCodeLine{00044 \textcolor{comment}{/** Write an END command. */}}
\DoxyCodeLine{00045 \textcolor{keywordtype}{void} rs\_emit\_end\_cmd(rs\_job\_t *);}
\DoxyCodeLine{00046 }
\DoxyCodeLine{00047 \textcolor{preprocessor}{\#endif                          }\textcolor{comment}{/* !EMIT\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
