Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
c_input_output_stream_interface.h
Go to the documentation of this file.
1 #ifndef _C_INPUT_OUTPUT_STREAM_INTERFACE_H
2 #define _C_INPUT_OUTPUT_STREAM_INTERFACE_H
3 
4 #include "vanillapdf/c_export.h"
5 #include "vanillapdf/c_handles.h"
6 #include "vanillapdf/c_values.h"
7 
8 #ifdef __cplusplus
9 extern "C"
10 {
11 #endif
12 
34  VANILLAPDF_API error_type CALLING_CONVENTION IInputOutputStream_CreateFromFile(string_type filename, IInputOutputStreamHandle** result);
35 
39  VANILLAPDF_API error_type CALLING_CONVENTION IInputOutputStream_ToInputStream(IInputOutputStreamHandle* handle, IInputStreamHandle** result);
40 
44  VANILLAPDF_API error_type CALLING_CONVENTION IInputOutputStream_ToOutputStream(IInputOutputStreamHandle* handle, IOutputStreamHandle** result);
45 
50  VANILLAPDF_API error_type CALLING_CONVENTION IInputOutputStream_Release(IInputOutputStreamHandle* handle);
51 
54 #ifdef __cplusplus
55 };
56 #endif
57 
58 #endif /* _C_INPUT_OUTPUT_STREAM_INTERFACE_H */
Input stream can read and interpret input from sequences of characters.
Input stream can read and interpret input from sequences of characters.
error_type IInputOutputStream_CreateFromFile(string_type filename, IInputOutputStreamHandle **result)
Opens an existing file at filename for read.
This file contains all type forward declarations returned by the library API.
const char * string_type
C-Style string.
Definition: c_types.h:82
error_type IInputOutputStream_ToInputStream(IInputOutputStreamHandle *handle, IInputStreamHandle **result)
Reinterpret current object as IInputStreamHandle.
uint32_t error_type
This is return value type of all API functions.
Definition: c_types.h:25
This file contains macro declarations for importing and exporting symbols from library boundaries...
Output stream can write sequences of characters and represent other kinds of data.
This file contains types and constants used as parameters or return values.
error_type IInputOutputStream_Release(IInputOutputStreamHandle *handle)
Decrement the internal reference counter.
error_type IInputOutputStream_ToOutputStream(IInputOutputStreamHandle *handle, IOutputStreamHandle **result)
Reinterpret current object as IOutputStreamHandle.