diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-27 10:12:00 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2002-04-27 10:12:00 +0000 |
commit | d9dac8cda3a8128f09ab4445f683196e1392e4fa (patch) | |
tree | 51c295cc2653c2439a295fbdb0e771cd3de5bc9b /perliol.h | |
parent | 5f228b1d3feafe3247efca23709f3c7bd5daf91b (diff) | |
download | perl-d9dac8cda3a8128f09ab4445f683196e1392e4fa.tar.gz |
Fix fd leak on Via(bogus).
Finish implementing PerlIOVia_open().
Export more guts of PerlIO_* so Via_open() can work.
Fix various PerlIO_allocate() features exposed by above.
p4raw-id: //depot/perlio@16207
Diffstat (limited to 'perliol.h')
-rw-r--r-- | perliol.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -154,6 +154,13 @@ typedef struct { IV oneword; /* Emergency buffer */ } PerlIOBuf; +extern int PerlIO_apply_layera(pTHX_ PerlIO *f, const char *mode, + PerlIO_list_t *layers, IV n, IV max); +extern int PerlIO_parse_layers(pTHX_ PerlIO_list_t *av, const char *names); +extern void PerlIO_list_free(pTHX_ PerlIO_list_t *list); +extern PerlIO_funcs *PerlIO_layer_fetch(pTHX_ PerlIO_list_t *av, IV n, PerlIO_funcs *def); + + extern SV *PerlIO_sv_dup(pTHX_ SV *arg, CLONE_PARAMS *param); extern PerlIO *PerlIOBuf_open(pTHX_ PerlIO_funcs *self, PerlIO_list_t *layers, IV n, |