tor  0.4.2.1-alpha-dev
logic.h
Go to the documentation of this file.
1 /* Copyright (c) 2003-2004, Roger Dingledine
2  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3  * Copyright (c) 2007-2019, The Tor Project, Inc. */
4 /* See LICENSE for licensing information */
5 
12 #ifndef HAVE_TOR_LOGIC_H
13 #define HAVE_TOR_LOGIC_H
14 
16 #define bool_eq(a,b) (!(a)==!(b))
17 
18 #define bool_neq(a,b) (!(a)!=!(b))
19 
20 #endif /* !defined(HAVE_TOR_LOGIC_H) */