ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

pngtest.c File Reference
#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 FILEpng_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 charinname = "pngtest.png"
static PNG_CONST charoutname = "pngout.png"

Generated on Sat May 26 2012 04:48:24 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.