MCPcopy Create free account
hub / github.com/RsyncProject/rsync / get_subprotocol_version

Function get_subprotocol_version

compat.c:885–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

883}
884
885int get_subprotocol_version()
886{
887#if SUBPROTOCOL_VERSION != 0
888 return protocol_version < PROTOCOL_VERSION ? 0 : SUBPROTOCOL_VERSION;
889#else
890 return 0;
891#endif
892}

Callers 3

check_sub_protocolFunction · 0.85
output_daemon_greetingFunction · 0.85
exchange_protocolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected