#include "zlib.h"
#include "png.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Defines |
| #define | _POSIX_SOURCE 1 |
| #define | PNG_ZBUF_SIZE 8192 |
| #define | FCLOSE(file) fclose(file) |
| #define | PNG_DEBUG 0 |
| #define | pngtest_debug(m) ((void)0) |
| #define | pngtest_debug1(m, p1) ((void)0) |
| #define | pngtest_debug2(m, p1, p2) ((void)0) |
| #define | SINGLE_ROWBUF_ALLOC /* Makes buffer overruns easier to nail */ |
| #define | CVT_PTR(ptr) (ptr) |
| #define | CVT_PTR_NOCHECK(ptr) (ptr) |
| #define | png_memcmp memcmp |
| #define | png_memcpy memcpy |
| #define | png_memset memset |
| #define | STDERR stdout /* For DOS */ |
Typedefs |
| typedef FILE * | png_FILE_p |
| typedef png_libpng_version_1_5_9 | Your_png_h_is_not_version_1_5_9 |
Functions |
| int test_one_file | PNGARG ((PNG_CONST char *inname, PNG_CONST char *outname)) |
| void PNGCBAPI | read_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
| void PNGCBAPI | write_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
| static void PNGCBAPI | pngtest_read_data (png_structp png_ptr, png_bytep data, png_size_t length) |
| static void PNGCBAPI | pngtest_write_data (png_structp png_ptr, png_bytep data, png_size_t length) |
| static void PNGCBAPI | pngtest_warning (png_structp png_ptr, png_const_charp message) |
| static void PNGCBAPI | pngtest_error (png_structp png_ptr, png_const_charp message) |
| int | test_one_file (PNG_CONST char *inname, PNG_CONST char *outname) |
| int | main (int argc, char *argv[]) |
Variables |
| static int | verbose = 0 |
| static int | strict = 0 |
| static int | status_pass = 1 |
| static int | status_dots_requested = 0 |
| static int | status_dots = 1 |
| static int | wrote_question = 0 |
| static PNG_CONST char * | inname = "pngtest.png" |
| static PNG_CONST char * | outname = "pngout.png" |