From a0f5bf5f6dffce10ecdf08b41667883c873ca147 Mon Sep 17 00:00:00 2001 From: roland Date: Thu, 23 May 1996 02:29:53 +0000 Subject: [PATCH] Thu May 23 00:01:10 1996 Ulrich Drepper * libio/libio.h: Add definition of struct _IO_cookie_file. --- libio/libio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libio/libio.h b/libio/libio.h index fce8a77bf7..b498f125eb 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -228,6 +228,16 @@ extern struct _IO_FILE_plus _IO_stdin_, _IO_stdout_, _IO_stderr_; #define _IO_stdout ((_IO_FILE*)(&_IO_stdout_)) #define _IO_stderr ((_IO_FILE*)(&_IO_stderr_)) + +/* Special file type for fopencookie function. */ +struct _IO_cookie_file { + struct _IO_FILE file; + const void *vtable; + void *cookie; + _IO_cookie_io_functions_t io_functions; +}; + + #ifdef __cplusplus extern "C" { #endif -- 2.11.0