Tor
0.4.7.0-alpha-dev
|
Flags that can be set on publish/subscribe messages. More...
Go to the source code of this file.
Macros | |
#define | DISP_FLAG_EXCL (1u<<0) |
#define | DISP_FLAG_STUB (1u<<1) |
Flags that can be set on publish/subscribe messages.
Definition in file pubsub_flags.h.
#define DISP_FLAG_EXCL (1u<<0) |
Flag for registering a message: declare that no other module is allowed to publish this message if we are publishing it, or subscribe to it if we are subscribing to it.
Definition at line 20 of file pubsub_flags.h.
#define DISP_FLAG_STUB (1u<<1) |
Flag for registering a message: declare that this message is a stub, and we will not actually publish/subscribe it, but that the dispatcher should treat us as if we did when typechecking.
We use this so that messages aren't treated as "dangling" if they are potentially used by some other build of Tor.
Definition at line 30 of file pubsub_flags.h.