Header for status.c.
More...
Go to the source code of this file.
Header for status.c.
Definition in file status.h.
◆ log_heartbeat()
int log_heartbeat |
( |
time_t |
now | ) |
|
Log a "heartbeat" message describing Tor's status and history so that the user can know that there is indeed a running Tor. Return 0 on success and -1 on failure.
Now, if we are an HS service, log some stats about our usage
Definition at line 154 of file status.c.
◆ note_connection()
void note_connection |
( |
bool |
inbound, |
|
|
int |
family |
|
) |
| |
Note that a connection has arrived or has been made, for use in the heartbeat message.
Definition at line 133 of file status.c.