Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
885
int 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_protocol
Function · 0.85
output_daemon_greeting
Function · 0.85
exchange_protocols
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected