#define DLOG_CTRL_REQ_PIPE (struct dlog_control_msg) {sizeof(struct dlog_control_msg), DLOG_REQ_PIPE, 0}
enum {
- DLOG_REQ_REPLY = 1 << 0,
+ DLOG_REQ_REPLY = 1,
+
+ /* the following can be OR'd with REPLY,
+ * but are exclusive with each other */
DLOG_REQ_PIPE = 1 << 1,
- DLOG_REQ_CLEAR = 1 << 2,
- DLOG_REQ_HANDLE_LOGUTIL = 1 << 3,
- DLOG_REQ_GET_CAPACITY = 1 << 4,
- DLOG_REQ_GET_USAGE = 1 << 5,
- DLOG_REQ_STDOUT = 1 << 6,
+ DLOG_REQ_CLEAR = 2 << 1,
+ DLOG_REQ_HANDLE_LOGUTIL = 3 << 1,
+ DLOG_REQ_GET_CAPACITY = 4 << 1,
+ DLOG_REQ_GET_USAGE = 5 << 1,
+ DLOG_REQ_STDOUT = 6 << 1,
};
enum {