diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-28 10:50:55 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-12-28 10:50:55 +0000 |
commit | b42efaf9f6a15f2000eb3f48919c92c748c6d6bd (patch) | |
tree | 2a99d6df56aeafd57810cda8c3c311d17895e487 | |
parent | 6b2c94303daa62e4c33104ff646f5c3bce7afc54 (diff) | |
download | mailutils-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.h | 23 |
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)); |