summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-12-28 10:50:55 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-12-28 10:50:55 +0000
commitb42efaf9f6a15f2000eb3f48919c92c748c6d6bd (patch)
tree2a99d6df56aeafd57810cda8c3c311d17895e487
parent6b2c94303daa62e4c33104ff646f5c3bce7afc54 (diff)
downloadmailutils-b42efaf9f6a15f2000eb3f48919c92c748c6d6bd.tar.gz
mailutils-b42efaf9f6a15f2000eb3f48919c92c748c6d6bd.tar.bz2
New flag MU_STREAM_ALLOW_LINKS: allow links on a file. Needed for MH.
-rw-r--r--include/mailutils/stream.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/include/mailutils/stream.h b/include/mailutils/stream.h
index a47ce8b07..2a7f56177 100644
--- a/include/mailutils/stream.h
+++ b/include/mailutils/stream.h
@@ -26,17 +26,18 @@
extern "C" { /*}*/
#endif
-#define MU_STREAM_READ 0x00000001
-#define MU_STREAM_WRITE 0x00000002
-#define MU_STREAM_RDWR 0x00000004
-#define MU_STREAM_APPEND 0x00000008
-#define MU_STREAM_CREAT 0x00000010
-#define MU_STREAM_NONBLOCK 0x00000020
-/* Stream will be destroy on stream_destroy without checking the owner. */
-#define MU_STREAM_NO_CHECK 0x00000040
-#define MU_STREAM_SEEKABLE 0x00000080
-#define MU_STREAM_NO_CLOSE 0x00000100
-
+#define MU_STREAM_READ 0x00000001
+#define MU_STREAM_WRITE 0x00000002
+#define MU_STREAM_RDWR 0x00000004
+#define MU_STREAM_APPEND 0x00000008
+#define MU_STREAM_CREAT 0x00000010
+#define MU_STREAM_NONBLOCK 0x00000020
+/* Stream will be destroyed on stream_destroy without checking the owner. */
+#define MU_STREAM_NO_CHECK 0x00000040
+#define MU_STREAM_SEEKABLE 0x00000080
+#define MU_STREAM_NO_CLOSE 0x00000100
+#define MU_STREAM_ALLOW_LINKS 0x00000200
+
/* Functions useful to users of the pre-defined stream types. */
extern int file_stream_create __P ((stream_t *stream, const char* filename, int flags));

Return to:

Send suggestions and report system problems to the System administrator.