Tor
0.4.7.0-alpha-dev
|
Code to detect the obsolete v0 control protocol. More...
Go to the source code of this file.
Functions | |
int | peek_buf_has_control0_command (buf_t *buf) |
Code to detect the obsolete v0 control protocol.
Definition in file proto_control0.c.
int peek_buf_has_control0_command | ( | buf_t * | buf | ) |
Return 1 iff buf looks more like it has an (obsolete) v0 controller command on it than any valid v1 controller command.
Definition at line 19 of file proto_control0.c.
Referenced by peek_connection_has_control0_command().