librsync  2.3.2
Data Structures | Typedefs | Enumerations | Functions
command.h File Reference

Types of commands present in the encoding stream. More...

Go to the source code of this file.

Data Structures

struct  rs_op_kind_name
 

Typedefs

typedef struct rs_op_kind_name rs_op_kind_name_t
 

Enumerations

enum  rs_op_kind {
  RS_KIND_END = 1000 , RS_KIND_LITERAL , RS_KIND_SIGNATURE , RS_KIND_COPY ,
  RS_KIND_CHECKSUM , RS_KIND_RESERVED , RS_KIND_INVALID
}
 Classes of operation that can be present. More...
 

Functions

char const * rs_op_kind_name (enum rs_op_kind)
 Return a human-readable name for KIND. More...
 

Detailed Description

Types of commands present in the encoding stream.

The vague idea is that eventually this file will be more abstract than protocol.h, but it's not clear that will ever be required.

Definition in file command.h.

Enumeration Type Documentation

◆ rs_op_kind

enum rs_op_kind

Classes of operation that can be present.

Each may have several different possible representations.

Definition at line 31 of file command.h.

Function Documentation

◆ rs_op_kind_name()

char const* rs_op_kind_name ( enum  rs_op_kind)

Return a human-readable name for KIND.

Definition at line 40 of file command.c.