dbpack.h
ColdX-0.2-4-dev/src/include/dbpack.h · 373 B
From the archive ColdX-0.2-4-dev.tar.gz
Download the archive « Back to the archive contents
/* @@@HEAD@@@ // Declarations for packing objects in the database. */ #ifndef _dbpack_h_ #define _dbpack_h_ #include <stdio.h> #include "object.h" void pack_object(object_t * obj, FILE * fp); void unpack_object(object_t * obj, FILE * fp); int size_object(object_t * obj); void write_long(long n, FILE * fp); long read_long(FILE * fp); int size_long(long n); #endif