geany  1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
  Fossies Dox: geany-1.38.tar.bz2  ("unofficial" and yet experimental doxygen-generated source code documentation)  

_MIO Struct Reference

MIO: More...

Collaboration diagram for _MIO:
[legend]

Public Attributes

MIOType type
 
unsigned int refcount
 
union {
   struct {
      FILE *   fp
 
      MIOFCloseFunc   close_func
 
   }   file
 
   struct {
      unsigned char *   buf
 
      int   ungetch
 
      size_t   pos
 
      size_t   size
 
      size_t   allocated_size
 
      MIOReallocFunc   realloc_func
 
      MIODestroyNotify   free_func
 
      bool   error
 
      bool   eof
 
   }   mem
 
impl
 
MIOUserData udata
 

Detailed Description

MIO:

An object representing a MIO stream. No assumptions should be made about what compose this object, and none of its fields should be accessed directly.

Definition at line 136 of file mio.c.

Member Data Documentation

◆ allocated_size

size_t _MIO::allocated_size

Definition at line 150 of file mio.c.

Referenced by mem_try_resize(), mio_new_memory(), and mio_unref().

◆ buf

◆ close_func

MIOFCloseFunc _MIO::close_func

Definition at line 143 of file mio.c.

Referenced by mio_new_file_full(), mio_new_fp(), and mio_unref().

◆ eof

bool _MIO::eof

◆ error

bool _MIO::error

Definition at line 153 of file mio.c.

Referenced by mio_clearerr(), mio_error(), mio_new_memory(), mio_rewind(), and mio_unref().

◆ 

◆ fp

◆ free_func

MIODestroyNotify _MIO::free_func

Definition at line 152 of file mio.c.

Referenced by mio_new_memory(), and mio_unref().

◆ 

◆ 

◆ pos

◆ realloc_func

MIOReallocFunc _MIO::realloc_func

Definition at line 151 of file mio.c.

Referenced by mem_try_resize(), mio_new_memory(), and mio_unref().

◆ refcount

unsigned int _MIO::refcount

Definition at line 139 of file mio.c.

Referenced by mio_new_file_full(), mio_new_fp(), mio_new_memory(), mio_ref(), and mio_unref().

◆ size

◆ type

◆ udata

◆ ungetch

int _MIO::ungetch

The documentation for this struct was generated from the following file: