51 return "still running";
53 return "blocked waiting for input or output buffers";
55 return "bad magic number at start of stream";
57 return "unexpected end of input";
59 return "stream corrupt";
61 return "unimplemented case";
63 return "out of memory";
67 return "bad command line syntax";
69 return "library internal error";
72 return "unexplained problem";
Public header for librsync.
rs_result
Return codes from nonblocking rsync operations.
@ RS_MEM_ERROR
Out of memory.
@ RS_RUNNING
The job is still running, and not yet finished or blocked.
@ RS_UNIMPLEMENTED
Author is lazy.
@ RS_DONE
Completed successfully.
@ RS_CORRUPT
Unbelievable value in stream.
@ RS_INPUT_ENDED
Unexpected end of input file, perhaps due to a truncated file or dropped network connection.
@ RS_SYNTAX_ERROR
Command line syntax error.
@ RS_BAD_MAGIC
Bad magic number at start of stream.
@ RS_INTERNAL_ERROR
Probably a library bug.
@ RS_BLOCKED
Blocked waiting for more data.
@ RS_IO_ERROR
Error in file or network IO.
char const * rs_strerror(rs_result r)
Return an English description of a rs_result value.