summaryrefslogtreecommitdiff
path: root/perliol.h
diff options
context:
space:
mode:
Diffstat (limited to 'perliol.h')
-rw-r--r--perliol.h34
1 files changed, 18 insertions, 16 deletions
diff --git a/perliol.h b/perliol.h
index 3d9c0e6f00..a2581b2664 100644
--- a/perliol.h
+++ b/perliol.h
@@ -36,9 +36,10 @@ struct _PerlIO_funcs
/*--------------------------------------------------------------------------------------*/
/* Kind values */
-#define PERLIO_K_RAW 0x00000001
-#define PERLIO_K_BUFFERED 0x00000002
+#define PERLIO_K_RAW 0x00000001
+#define PERLIO_K_BUFFERED 0x00000002
#define PERLIO_K_CANCRLF 0x00000004
+#define PERLIO_K_FASTGETS 0x00000008
/*--------------------------------------------------------------------------------------*/
struct _PerlIO
@@ -51,20 +52,21 @@ struct _PerlIO
/*--------------------------------------------------------------------------------------*/
/* Flag values */
-#define PERLIO_F_EOF 0x00010000
-#define PERLIO_F_CANWRITE 0x00020000
-#define PERLIO_F_CANREAD 0x00040000
-#define PERLIO_F_ERROR 0x00080000
-#define PERLIO_F_TRUNCATE 0x00100000
-#define PERLIO_F_APPEND 0x00200000
-#define PERLIO_F_CRLF 0x00400000
-#define PERLIO_F_UTF8 0x00800000
-#define PERLIO_F_UNBUF 0x01000000
-#define PERLIO_F_WRBUF 0x02000000
-#define PERLIO_F_RDBUF 0x04000000
-#define PERLIO_F_LINEBUF 0x08000000
-#define PERLIO_F_TEMP 0x10000000
-#define PERLIO_F_OPEN 0x20000000
+#define PERLIO_F_EOF 0x00000100
+#define PERLIO_F_CANWRITE 0x00000200
+#define PERLIO_F_CANREAD 0x00000400
+#define PERLIO_F_ERROR 0x00000800
+#define PERLIO_F_TRUNCATE 0x00001000
+#define PERLIO_F_APPEND 0x00002000
+#define PERLIO_F_CRLF 0x00004000
+#define PERLIO_F_UTF8 0x00008000
+#define PERLIO_F_UNBUF 0x00010000
+#define PERLIO_F_WRBUF 0x00020000
+#define PERLIO_F_RDBUF 0x00040000
+#define PERLIO_F_LINEBUF 0x00080000
+#define PERLIO_F_TEMP 0x00100000
+#define PERLIO_F_OPEN 0x00200000
+#define PERLIO_F_FASTGETS 0x00400000
#define PerlIOBase(f) (*(f))
#define PerlIOSelf(f,type) ((type *)PerlIOBase(f))