Classes | Defines | Functions

pdf.h File Reference

#include "pldll.h"

Go to the source code of this file.

Classes

struct  PDFstrm
struct  PLiodev

Defines

#define U_CHAR   unsigned char
#define U_SHORT   unsigned short
#define U_INT   unsigned int
#define U_LONG   unsigned long
#define PDF_ERROR   1
#define PDF_FNOPEN   2
#define PDF_FAOPEN   3
#define PDF_BADUN   4
#define PDF_BADNBITS   5
#define PDF_RDERR   6
#define PDF_WRERR   7
#define PDF_NOTPDF   8

Functions

void pdf_set PLARGS ((char *option, int value))
PLDLLIMPEXP PDFstrm *pdf_fopen PLARGS ((const char *fileName, const char *mode))
PLDLLIMPEXP PDFstrm *pdf_bopen PLARGS ((U_CHAR *buffer, long bufmax))
PLDLLIMPEXP PDFstrm *pdf_finit PLARGS ((FILE *file))
PDFstrm *plLibOpenPdfstrm PLARGS ((const char *fn))
PLDLLIMPEXP int pdf_close PLARGS ((PDFstrm *pdfs))
int pdf_putc PLARGS ((int c, PDFstrm *pdfs))
int pdf_rdx PLARGS ((U_CHAR *x, long nitems, PDFstrm *pdfs))
PLDLLIMPEXP int pdf_rd_header PLARGS ((PDFstrm *pdfs, char *header))
int pdf_wr_string PLARGS ((PDFstrm *pdfs, const char *string))
int pdf_rd_string PLARGS ((PDFstrm *pdfs, char *string, int nmax))
PLDLLIMPEXP int pdf_wr_1byte PLARGS ((PDFstrm *pdfs, U_CHAR s))
PLDLLIMPEXP int pdf_rd_1byte PLARGS ((PDFstrm *pdfs, U_CHAR *ps))
PLDLLIMPEXP int pdf_wr_2bytes PLARGS ((PDFstrm *pdfs, U_SHORT s))
PLDLLIMPEXP int pdf_rd_2bytes PLARGS ((PDFstrm *pdfs, U_SHORT *ps))
PLDLLIMPEXP int pdf_wr_2nbytes PLARGS ((PDFstrm *pdfs, U_SHORT *s, PLINT n))
PLDLLIMPEXP int pdf_wr_4bytes PLARGS ((PDFstrm *pdfs, U_LONG s))
PLDLLIMPEXP int pdf_rd_4bytes PLARGS ((PDFstrm *pdfs, U_LONG *ps))
PLDLLIMPEXP int pdf_wr_ieeef PLARGS ((PDFstrm *pdfs, float f))
PLDLLIMPEXP int pdf_rd_ieeef PLARGS ((PDFstrm *pdfs, float *pf))

Define Documentation

#define PDF_BADNBITS   5

Definition at line 79 of file pdf.h.

#define PDF_BADUN   4

Definition at line 78 of file pdf.h.

#define PDF_ERROR   1

Definition at line 75 of file pdf.h.

#define PDF_FAOPEN   3

Definition at line 77 of file pdf.h.

#define PDF_FNOPEN   2

Definition at line 76 of file pdf.h.

#define PDF_NOTPDF   8

Definition at line 82 of file pdf.h.

#define PDF_RDERR   6

Definition at line 80 of file pdf.h.

#define PDF_WRERR   7

Definition at line 81 of file pdf.h.

#define U_CHAR   unsigned char

Definition at line 28 of file pdf.h.

#define U_INT   unsigned int

Definition at line 36 of file pdf.h.

#define U_LONG   unsigned long

Definition at line 40 of file pdf.h.

#define U_SHORT   unsigned short

Definition at line 32 of file pdf.h.


Function Documentation

void pdf_set PLARGS ( (char *option, int value)   ) 
PLDLLIMPEXP int pdf_rd_ieeef PLARGS ( (PDFstrm *pdfs, float *pf)   ) 
PLDLLIMPEXP int pdf_wr_ieeef PLARGS ( (PDFstrm *pdfs, float f)   ) 
PLDLLIMPEXP int pdf_rd_4bytes PLARGS ( (PDFstrm *pdfs, U_LONG *ps)   ) 
PLDLLIMPEXP int pdf_wr_4bytes PLARGS ( (PDFstrm *pdfs, U_LONG s)   ) 
PLDLLIMPEXP int pdf_rd_2nbytes PLARGS ( (PDFstrm *pdfs, U_SHORT *s, PLINT n)   ) 
PLDLLIMPEXP int pdf_rd_2bytes PLARGS ( (PDFstrm *pdfs, U_SHORT *ps)   ) 
PLDLLIMPEXP int pdf_wr_2bytes PLARGS ( (PDFstrm *pdfs, U_SHORT s)   ) 
PLDLLIMPEXP int pdf_rd_1byte PLARGS ( (PDFstrm *pdfs, U_CHAR *ps)   ) 
PLDLLIMPEXP int pdf_wr_1byte PLARGS ( (PDFstrm *pdfs, U_CHAR s)   ) 
int pdf_rd_string PLARGS ( (PDFstrm *pdfs, char *string, int nmax)   ) 
int pdf_wr_string PLARGS ( (PDFstrm *pdfs, const char *string)   ) 
PLDLLIMPEXP int pdf_wr_header PLARGS ( (PDFstrm *pdfs, char *header  ) 
int pdf_rdx PLARGS ( (U_CHAR *x, long nitems, PDFstrm *pdfs)   ) 
PLDLLIMPEXP int pdf_ungetc PLARGS ( (int c, PDFstrm *pdfs)   ) 
PLDLLIMPEXP int pdf_getc PLARGS ( (PDFstrm *pdfs)   ) 
PDFstrm* plLibOpenPdfstrm PLARGS ( (const char *fn)   ) 
PLDLLIMPEXP PDFstrm* pdf_finit PLARGS ( (FILE *file)   ) 
PLDLLIMPEXP PDFstrm* pdf_bopen PLARGS ( (U_CHAR *buffer, long bufmax)   ) 
PLDLLIMPEXP PDFstrm* pdf_fopen PLARGS ( (const char *fileName, const char *mode)   )