#ifndef GD_IO_H #define GD_IO_H 1 #include <stdio.h> #ifdef VMS #define Putchar gdPutchar #endif typedef struct gdIOCtx { int (*getC)(struct gdIOCtx*); int (*getBuf)(struct gdIOCtx*, void*, int); void (*putC)(struct gdIOCtx*, int); int (*putBuf)(struct gdIOCtx*, const void*, int); int (*seek)(struct gdIOCtx*, const int); long (*tell)(struct gdIOCtx*); void (*gd_free)(struct gdIOCtx*); void *data; } gdIOCtx; typedef struct gdIOCtx *gdIOCtxPtr; void Putword(int w, gdIOCtx *ctx); void Putchar(int c, gdIOCtx *ctx); void gdPutC(const unsigned char c, gdIOCtx *ctx); int gdPutBuf(const void *, int, gdIOCtx*); void gdPutWord(int w, gdIOCtx *ctx); void gdPutInt(int w, gdIOCtx *ctx); int gdGetC(gdIOCtx *ctx); int gdGetBuf(void *, int, gdIOCtx*); int gdGetByte(int *result, gdIOCtx *ctx); int gdGetWord(int *result, gdIOCtx *ctx); int gdGetWordLSB(signed short int *result, gdIOCtx *ctx); int gdGetInt(int *result, gdIOCtx *ctx); int gdGetIntLSB(signed int *result, gdIOCtx *ctx); int gdSeek(gdIOCtx *ctx, const int); long gdTell(gdIOCtx *ctx); #endif
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
bmp.h | File | 2.39 KB | 0644 |
|
gd.h | File | 33.01 KB | 0644 |
|
gd_errors.h | File | 673 B | 0644 |
|
gd_intern.h | File | 261 B | 0644 |
|
gd_io.h | File | 1.05 KB | 0644 |
|
gd_tga.h | File | 1.66 KB | 0644 |
|
gdcache.h | File | 2.68 KB | 0644 |
|
gdfontg.h | File | 529 B | 0644 |
|
gdfontl.h | File | 527 B | 0644 |
|
gdfontmb.h | File | 495 B | 0644 |
|
gdfonts.h | File | 491 B | 0644 |
|
gdfontt.h | File | 522 B | 0644 |
|
gdhelpers.h | File | 1.54 KB | 0644 |
|
jisx0208.h | File | 69.68 KB | 0644 |
|
wbmp.h | File | 1.25 KB | 0644 |
|