dbpack.h
src/dbpack.h · 349 B
From the archive coldmud-0.11-3.tar.gz
Download the archive « Back to the archive contents
/* dbpack.h: Declarations for packing objects in the database. */ #ifndef DBPACK_H #define DBPACK_H #include <stdio.h> #include "object.h" void pack_object(Object *obj, FILE *fp); void unpack_object(Object *obj, FILE *fp); int size_object(Object *obj); void write_long(long n, FILE *fp); long read_long(FILE *fp); int size_long(long n); #endif