diff options
Diffstat (limited to 'libguile/ports-internal.h')
-rw-r--r-- | libguile/ports-internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libguile/ports-internal.h b/libguile/ports-internal.h index 19e49a7bd..5eeefb9b7 100644 --- a/libguile/ports-internal.h +++ b/libguile/ports-internal.h @@ -232,6 +232,12 @@ typedef struct scm_port_internal scm_t_port_internal; #define SCM_PORT_GET_INTERNAL(x) (SCM_PTAB_ENTRY(x)->internal) +typedef enum scm_t_port_rw_active { + SCM_PORT_NEITHER = 0, + SCM_PORT_READ = 1, + SCM_PORT_WRITE = 2 +} scm_t_port_rw_active; + SCM_INTERNAL scm_t_iconv_descriptors * scm_i_port_iconv_descriptors (SCM port, scm_t_port_rw_active mode); |