\doxysubsection{command.\+h}
\label{command_8h_source}\index{command.h@{command.h}}
\mbox{\hyperlink{command_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 -\/-\/ library for network deltas}}
\DoxyCodeLine{00004 \textcolor{comment}{ *}}
\DoxyCodeLine{00005 \textcolor{comment}{ * Copyright (C) 1999, 2000, 2001 by Martin Pool <mbp@sourcefrog.net>}}
\DoxyCodeLine{00006 \textcolor{comment}{ * Copyright (C) 1999 by Andrew Tridgell <tridge@samba.org>}}
\DoxyCodeLine{00007 \textcolor{comment}{ *}}
\DoxyCodeLine{00008 \textcolor{comment}{ * This program is free software; you can redistribute it and/or}}
\DoxyCodeLine{00009 \textcolor{comment}{ * modify it under the terms of the GNU Lesser General Public License}}
\DoxyCodeLine{00010 \textcolor{comment}{ * as published by the Free Software Foundation; either version 2.1 of}}
\DoxyCodeLine{00011 \textcolor{comment}{ * the License, or (at your option) any later version.}}
\DoxyCodeLine{00012 \textcolor{comment}{ *}}
\DoxyCodeLine{00013 \textcolor{comment}{ * This program is distributed in the hope that it will be useful, but}}
\DoxyCodeLine{00014 \textcolor{comment}{ * WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{00015 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU}}
\DoxyCodeLine{00016 \textcolor{comment}{ * Lesser General Public License for more details.}}
\DoxyCodeLine{00017 \textcolor{comment}{ *}}
\DoxyCodeLine{00018 \textcolor{comment}{ * You should have received a copy of the GNU Lesser General Public}}
\DoxyCodeLine{00019 \textcolor{comment}{ * License along with this program; if not, write to the Free Software}}
\DoxyCodeLine{00020 \textcolor{comment}{ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.}}
\DoxyCodeLine{00021 \textcolor{comment}{ */}}
\DoxyCodeLine{00022 \textcolor{comment}{}}
\DoxyCodeLine{00023 \textcolor{comment}{/** \(\backslash\)file command.h}}
\DoxyCodeLine{00024 \textcolor{comment}{ * Types of commands present in the encoding stream.}}
\DoxyCodeLine{00025 \textcolor{comment}{ *}}
\DoxyCodeLine{00026 \textcolor{comment}{ * The vague idea is that eventually this file will be more abstract than}}
\DoxyCodeLine{00027 \textcolor{comment}{ * protocol.h, but it's not clear that will ever be required. */}}
\DoxyCodeLine{00028 \textcolor{preprocessor}{\#ifndef COMMAND\_H}}
\DoxyCodeLine{00029 \textcolor{preprocessor}{\#  define COMMAND\_H}}
\DoxyCodeLine{00030 \textcolor{comment}{}}
\DoxyCodeLine{00031 \textcolor{comment}{/** Classes of operation that can be present. Each may have several different}}
\DoxyCodeLine{00032 \textcolor{comment}{ * possible representations. */}}
\DoxyCodeLine{00033 \textcolor{keyword}{enum} rs\_op\_kind \{}
\DoxyCodeLine{00034     RS\_KIND\_END = 1000,}
\DoxyCodeLine{00035     RS\_KIND\_LITERAL,}
\DoxyCodeLine{00036     RS\_KIND\_SIGNATURE,}
\DoxyCodeLine{00037     RS\_KIND\_COPY,}
\DoxyCodeLine{00038     RS\_KIND\_CHECKSUM,}
\DoxyCodeLine{00039     RS\_KIND\_RESERVED,           \textcolor{comment}{/* for future expansion */}}
\DoxyCodeLine{00040 }
\DoxyCodeLine{00041     \textcolor{comment}{/* This one should never occur in file streams. It's an internal marker for}}
\DoxyCodeLine{00042 \textcolor{comment}{       invalid commands. */}}
\DoxyCodeLine{00043     RS\_KIND\_INVALID}
\DoxyCodeLine{00044 \};}
\DoxyCodeLine{00045 }
\DoxyCodeLine{00046 \textcolor{keyword}{typedef} \textcolor{keyword}{struct }rs\_op\_kind\_name \{}
\DoxyCodeLine{00047     \textcolor{keywordtype}{char} \textcolor{keyword}{const} *name;}
\DoxyCodeLine{00048     \textcolor{keyword}{enum} rs\_op\_kind \textcolor{keyword}{const} kind;}
\DoxyCodeLine{00049 \} rs\_op\_kind\_name\_t;}
\DoxyCodeLine{00050 }
\DoxyCodeLine{00051 \textcolor{keywordtype}{char} \textcolor{keyword}{const} *rs\_op\_kind\_name(\textcolor{keyword}{enum} rs\_op\_kind);}
\DoxyCodeLine{00052 }
\DoxyCodeLine{00053 \textcolor{preprocessor}{\#endif                          }\textcolor{comment}{/* !COMMAND\_H */}\textcolor{preprocessor}{}}

\end{DoxyCode}
