#ifndef XDR_H #define XDR_H /* Functions used for reading the legacy XDR binary file format */ /* Thanks to curses. */ #if 0 #undef TRUE #undef FALSE #endif #include #include #include #include "sheet.h" bool_t xdr_cell(XDR *xdrs, Cell *cell); bool_t xdr_column(XDR *xdrs, int *x, int *z, ColWidT *width); bool_t xdr_magic(XDR *xdrs); const char *savexdr(Sheet *sheet, const char *name, unsigned int *count); const char *loadxdr(Sheet *sheet, const char *name); #endif