Tor  0.4.6.0-alpha-dev
Functions
proto_control0.h File Reference

Header for proto_control0.c. More...

Go to the source code of this file.

Functions

int peek_buf_has_control0_command (struct buf_t *buf)
 

Detailed Description

Header for proto_control0.c.

Definition in file proto_control0.h.

Function Documentation

◆ peek_buf_has_control0_command()

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().