summaryrefslogtreecommitdiff
path: root/include/mailutils/stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mailutils/stream.h')
-rw-r--r--include/mailutils/stream.h27
1 files changed, 23 insertions, 4 deletions
diff --git a/include/mailutils/stream.h b/include/mailutils/stream.h
index f7f58ba8a..4e82b9239 100644
--- a/include/mailutils/stream.h
+++ b/include/mailutils/stream.h
@@ -83,7 +83,7 @@ enum mu_buffer_type
/* Opcodes common for various families */
#define MU_IOCTL_OP_GET 0
#define MU_IOCTL_OP_SET 1
-
+
/* Opcodes for MU_IOCTL_PROGSTREAM */
#define MU_IOCTL_PROG_STATUS 0
#define MU_IOCTL_PROG_PID 1
@@ -106,11 +106,21 @@ enum mu_buffer_type
*/
#define MU_IOCTL_LOGSTREAM_GET_SEVERITY 0
#define MU_IOCTL_LOGSTREAM_SET_SEVERITY 1
+
+ /* The following two subcommands are deprecated and provided for
+ backward compatibility. Please use the MU_IOCTL_LOGSTREAM_GET_LOCUS_RANGE
+ and MU_IOCTL_LOGSTREAM_SET_LOCUS_RANGE instead. */
/* Get or set locus.
- Arg: struct mu_locus *
+ Arg: struct mu_locus_DEPRECATED *
*/
-#define MU_IOCTL_LOGSTREAM_GET_LOCUS 2
-#define MU_IOCTL_LOGSTREAM_SET_LOCUS 3
+#define MU_IOCTL_LOGSTREAM_GET_LOCUS_DEPRECATED 2
+#define MU_IOCTL_LOGSTREAM_SET_LOCUS_DEPRECATED 3
+
+int mu_ioctl_logstream_get_locus_deprecated (void) MU_DEPRECATED;
+#define MU_IOCTL_LOGSTREAM_GET_LOCUS mu_ioctl_logstream_get_locus_deprecated ()
+int mu_ioctl_logstream_set_locus_deprecated (void) MU_DEPRECATED;
+#define MU_IOCTL_LOGSTREAM_SET_LOCUS mu_ioctl_logstream_set_locus_deprecated ()
+
/* Get or set log mode.
Arg: int *
*/
@@ -158,6 +168,15 @@ enum mu_buffer_type
Arg: mu_stream_t*
*/
#define MU_IOCTL_LOGSTREAM_CLONE 14
+
+ /* Get locus range.
+ Arg: struct mu_locus_range *
+ */
+#define MU_IOCTL_LOGSTREAM_GET_LOCUS_RANGE 15
+ /* Set locus range.
+ Arg: struct mu_locus_range *
+ */
+#define MU_IOCTL_LOGSTREAM_SET_LOCUS_RANGE 16
/* Opcodes for MU_IOCTL_XSCRIPTSTREAM */
/* Swap transcript levels.

Return to:

Send suggestions and report system problems to the System administrator.