pngcrush  1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
  Fossies Dox: pngcrush-1.8.13.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

pngwio.c File Reference
#include "pngpriv.h"
Include dependency graph for pngwio.c:

Go to the source code of this file.

Functions

void png_write_data (png_structrp png_ptr, png_const_bytep data, png_size_t length)
 
void png_default_write_data (png_structp png_ptr, png_bytep data, png_size_t length)
 
void png_flush (png_structrp png_ptr)
 
void png_default_flush (png_structp png_ptr)
 
void png_set_write_fn (png_structrp png_ptr, png_voidp io_ptr, png_rw_ptr write_data_fn, png_flush_ptr output_flush_fn)
 

Function Documentation

◆ png_default_flush()

void png_default_flush ( png_structp  png_ptr)

Definition at line 79 of file pngwio.c.

References png_struct_def::io_ptr, and png_voidcast.

Referenced by png_set_write_fn().

◆ png_default_write_data()

void png_default_write_data ( png_structp  png_ptr,
png_bytep  data,
png_size_t  length 
)

Definition at line 51 of file pngwio.c.

References png_struct_def::io_ptr, length, and png_error().

Referenced by png_set_write_fn().

◆ png_flush()

void png_flush ( png_structrp  png_ptr)

Definition at line 71 of file pngwio.c.

Referenced by png_write_end(), and png_write_flush().

◆ png_set_write_fn()

void png_set_write_fn ( png_structrp  png_ptr,
png_voidp  io_ptr,
png_rw_ptr  write_data_fn,
png_flush_ptr  output_flush_fn 
)

◆ png_write_data()

void png_write_data ( png_structrp  png_ptr,
png_const_bytep  data,
png_size_t  length 
)