tor  0.4.2.0-alpha-dev
Macros
pubsub_flags.h File Reference

Go to the source code of this file.

Macros

#define DISP_FLAG_EXCL   (1u<<0)
 
#define DISP_FLAG_STUB   (1u<<1)
 

Detailed Description

Flags that can be set on publish/subscribe messages.

Definition in file pubsub_flags.h.

Macro Definition Documentation

◆ DISP_FLAG_EXCL

#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.

◆ DISP_FLAG_STUB

#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.