/*
// ColdMUD was created and is copyright 1993, 1994 by Greg Hudson
//
// ColdX is a derivitive work, and is copyright 1995 by the ColdX Project.
// Full copyright information can be found in the file doc/CREDITS
//
// File:        dbpack.h
// Version:     0.1-5
// Last Edited: 18 May 1995
//
// ---
//
// 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