52 return "still running";
54 return "blocked waiting for input or output buffers";
56 return "bad magic number at start of stream";
58 return "unexpected end of input";
60 return "stream corrupt";
62 return "unimplemented case";
64 return "out of memory";
68 return "bad command line syntax";
70 return "library internal error";
73 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.