Tor 0.4.9.8
Loading...
Searching...
No Matches
logic.h File Reference

Macros for comparing the boolean value of integers. More...

Go to the source code of this file.

Macros

#define bool_eq(a, b)
 
#define bool_neq(a, b)
 

Detailed Description

Macros for comparing the boolean value of integers.

Definition in file logic.h.

Macro Definition Documentation

◆ bool_eq

#define bool_eq ( a,
b )
Value:
(!(a)==!(b))

Macro: true if two values have the same boolean value.

Definition at line 16 of file logic.h.

Referenced by entry_guard_set_filtered_flags(), options_act(), and options_act_bridge_stats().

◆ bool_neq

#define bool_neq ( a,
b )
Value:
(!(a)!=!(b))

Macro: true if two values have different boolean values.

Definition at line 18 of file logic.h.

Referenced by connection_or_set_identity_digest(), directory_remove_invalid(), retry_listener_ports(), router_parse_entry_from_string(), and router_set_status().