ReactOS 0.4.15-dev-7928-g68a8619
png.c File Reference
#include "pngpriv.h"
Include dependency graph for png.c:

Go to the source code of this file.

Macros

#define GCC_STRICT_OVERFLOW   0
 

Typedefs

typedef png_libpng_version_1_6_39 Your_png_h_is_not_version_1_6_39
 

Functions

png_voidp PNGAPI png_get_io_ptr (png_const_structrp png_ptr)
 
png_const_charp PNGAPI png_get_copyright (png_const_structrp png_ptr)
 
png_const_charp PNGAPI png_get_libpng_ver (png_const_structrp png_ptr)
 
png_const_charp PNGAPI png_get_header_ver (png_const_structrp png_ptr)
 
png_const_charp PNGAPI png_get_header_version (png_const_structrp png_ptr)
 
png_uint_32 PNGAPI png_access_version_number (void)
 

Macro Definition Documentation

◆ GCC_STRICT_OVERFLOW

#define GCC_STRICT_OVERFLOW   0

Definition at line 36 of file png.c.

Typedef Documentation

◆ Your_png_h_is_not_version_1_6_39

Function Documentation

◆ png_access_version_number()

png_uint_32 PNGAPI png_access_version_number ( void  )

Definition at line 986 of file png.c.

987{
988 /* Version of *.c files used when building libpng */
990}
png_uint_32
Definition: png.h:1936
#define PNG_LIBPNG_VER
Definition: png.h:318

◆ png_get_copyright()

png_const_charp PNGAPI png_get_copyright ( png_const_structrp  png_ptr)

Definition at line 811 of file png.c.

812{
813 PNG_UNUSED(png_ptr) /* Silence compiler warning about unused png_ptr */
814#ifdef PNG_STRING_COPYRIGHT
815 return PNG_STRING_COPYRIGHT
816#else
817 return PNG_STRING_NEWLINE \
818 "libpng version 1.6.39" PNG_STRING_NEWLINE \
819 "Copyright (c) 2018-2022 Cosmin Truta" PNG_STRING_NEWLINE \
820 "Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson" \
822 "Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
823 "Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
825#endif
826}
png_structrp png_ptr
Definition: png.h:1080
#define PNG_STRING_NEWLINE
Definition: pngdebug.h:48
#define PNG_UNUSED(param)
Definition: pngpriv.h:444

◆ png_get_header_ver()

png_const_charp PNGAPI png_get_header_ver ( png_const_structrp  png_ptr)

Definition at line 844 of file png.c.

845{
846 /* Version of *.h files used when building libpng */
847 PNG_UNUSED(png_ptr) /* Silence compiler warning about unused png_ptr */
849}
#define PNG_LIBPNG_VER_STRING
Definition: png.h:281

Referenced by png_get_libpng_ver().

◆ png_get_header_version()

png_const_charp PNGAPI png_get_header_version ( png_const_structrp  png_ptr)

Definition at line 852 of file png.c.

853{
854 /* Returns longer string containing both version and date */
855 PNG_UNUSED(png_ptr) /* Silence compiler warning about unused png_ptr */
856#ifdef __STDC__
858# ifndef PNG_READ_SUPPORTED
859 " (NO READ SUPPORT)"
860# endif
862#else
864#endif
865}
#define PNG_HEADER_VERSION_STRING
Definition: png.h:282

◆ png_get_io_ptr()

png_voidp PNGAPI png_get_io_ptr ( png_const_structrp  png_ptr)

Definition at line 686 of file png.c.

687{
688 if (png_ptr == NULL)
689 return (NULL);
690
691 return (png_ptr->io_ptr);
692}
#define NULL
Definition: types.h:112

◆ png_get_libpng_ver()

png_const_charp PNGAPI png_get_libpng_ver ( png_const_structrp  png_ptr)

Definition at line 837 of file png.c.

838{
839 /* Version of *.c files used when building libpng */
841}
png_const_charp PNGAPI png_get_header_ver(png_const_structrp png_ptr)
Definition: png.c:844