#ifndef __WBMP_H
#define __WBMP_H 1
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php_compat.h"
typedef struct Wbmp_
{
int type;
int width;
int height;
int *bitmap;
} Wbmp;
#define WBMP_WHITE 1
#define WBMP_BLACK 0
void putmbi( int i, void (*putout)(int c, void *out), void *out);
int getmbi ( int (*getin)(void *in), void *in );
int skipheader( int (*getin)(void *in), void *in );
Wbmp *createwbmp( int width, int height, int color );
int readwbmp( int (*getin)(void *in), void *in, Wbmp **wbmp );
int writewbmp( Wbmp *wbmp, void (*putout)( int c, void *out), void *out);
void freewbmp( Wbmp *wbmp );
void printwbmp( Wbmp *wbmp );
#endif